<commit_before><nav class="navbar navbar-default navbar-fixed-top">
  <div class="container-fluid">
    <div class="navbar-header">

      <!-- Collapsed Hamburger -->
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#app-navbar-collapse">
        <span class="sr-only">Toggle Navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>

      <!-- Branding Image -->
      <a class="navbar-brand" href="{{ url('/') }}">
        {{ getSiteTitle() }}
      </a>
    </div>

    <div class="collapse navbar-collapse" id="app-navbar-collapse">

      <ul class="nav navbar-nav navbar-left">
        @if (Auth::guest())
          <li><a href="{{ url('/login') }}">Login</a></li>
        @else
          @if ( isAdmin() )
            <li><a href="{{ route('admin.dashboard') }}">Administración</a></li>
          @endif
        @endif
      </ul>

      <!-- Right Side Of Navbar -->
      <ul class="nav navbar-nav navbar-right">
        <!-- Authentication Links -->
        @if (!Auth::guest())
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
              {{ ucfirst(Auth::user()->name) }} <span class="caret"></span>
            </a>
            <ul class="dropdown-menu" role="menu">
              <li><a href="{{ url('/logout') }}"><i class="fa fa-btn fa-sign-out"></i>Logout</a></li>
            </ul>
          </li>
        @endif
        <li>
          @if ( ! Route::is('resources.create') )
            <button
              role="button"
              data-href="{{ route('resources.create') }}"
              class="btn btn-sm btn-success navbar-btn">
                Subir Recurso
            </button>
          @else
            <button
              role="button"
              data-href="{{ URL::previous() }}"
              class="btn btn-sm btn-danger navbar-btn">
                Volver
            </button>
          @endif
        </li>
      </ul>
    </div>
  </div>
</nav><commit_msg>Fixed previous button<commit_after><nav class="navbar navbar-default navbar-fixed-top">
  <div class="container-fluid">
    <div class="navbar-header">

      <!-- Collapsed Hamburger -->
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#app-navbar-collapse">
        <span class="sr-only">Toggle Navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>

      <!-- Branding Image -->
      <a class="navbar-brand" href="{{ url('/') }}">
        {{ getSiteTitle() }}
      </a>
    </div>

    <div class="collapse navbar-collapse" id="app-navbar-collapse">

      <ul class="nav navbar-nav navbar-left">
        @if (Auth::guest())
          <li><a href="{{ url('/login') }}">Login</a></li>
        @else
          @if ( isAdmin() )
            <li><a href="{{ route('admin.dashboard') }}">Administración</a></li>
          @endif
        @endif
      </ul>

      <!-- Right Side Of Navbar -->
      <ul class="nav navbar-nav navbar-right">
        <!-- Authentication Links -->
        @if (!Auth::guest())
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
              {{ ucfirst(Auth::user()->name) }} <span class="caret"></span>
            </a>
            <ul class="dropdown-menu" role="menu">
              <li><a href="{{ url('/logout') }}"><i class="fa fa-btn fa-sign-out"></i>Logout</a></li>
            </ul>
          </li>
        @endif
        <li>
          @if ( ! Route::is('resources.create') )
            <button
              role="button"
              data-href="{{ route('resources.create') }}"
              class="btn btn-sm btn-success navbar-btn">
                Subir Recurso
            </button>
          @else
            <button
              role="button"
              data-href="{{ route('home') }}"
              class="btn btn-sm btn-danger navbar-btn">
                Volver
            </button>
          @endif
        </li>
      </ul>
    </div>
  </div>
</nav>
{'fraction_non_alphanumeric': 0.19430172816440916, 'fraction_numerical': 0.0, 'mean_word_length': 1.8159105851413544, 'pattern_counts': {'":': 0, '<': 115, '<?xml version=': 0, '>': 117, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7544049', 'n_tokens_mistral': 1278, 'n_tokens_neox': 1241, 'n_words': 255}