<commit_before><!DOCTYPE html>
<html>
<head>
  <title>Barter</title>

    <!-- Latest compiled and minified CSS -->
  <%= stylesheet_link_tag    'application', media: 'all' %>
  <%= javascript_include_tag 'application' %>
  <%= csrf_meta_tags %>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">

  <!-- Optional theme -->
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css">

  <!-- Latest compiled and minified JavaScript -->
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
  <script src="https://sdk.amazonaws.com/js/aws-sdk-2.0.0-rc1.min.js"></script>
</head>
<body ng-app="barter" ng-controller="AppController as app">

  <div class="container-fluid">
    <div class="navbar navbar-inverse navbar-fixed-top">
      <ul class="nav navbar-nav navbar-left">
        <a class='navbar-brand glyphicon glyphicon-transfer' href="/"> Barter</a>
      </ul>

      <ul class="nav navbar-nav navbar-right">

        <% if current_user %>

          <div class="navbar-collapse logged-in">
            <ul class="nav navbar-nav">
              <li><a ng-href="#/users/<%=current_user.id%>"><%= current_user.username.capitalize %></a></li>

              <li><a href="/logout" method="destroy"></i>Logout</a></li>
            </ul>
          </div>

        <% else %>

          <ul class="nav nav-tabs">
            <li role="presentation" class="dropdown">
              <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-expanded="false">
                Login <span class="caret"></span>
              </a>
              <ul class="dropdown-menu" role="menu">
                <%= form_for :session, url: login_path do |f| %>
                  <li><%= f.label :username %><br><%= f.text_field :username %></li>
                  <li><%= f.label :password %><br><%= f.password_field :password %></li>
                  <li><%= f.submit "Login" %></li>
                <% end %>
              </ul>
            </li>
            <li role="presentation" class="dropdown">
              <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-expanded="false">
                Signup <span class="caret"></span>
              </a>
              <ul class="dropdown-menu" role="menu">
                <%= form_tag "/users" do |f| %>
                  <li>Username:<br><%= text_field_tag :username %></li>
                  <li>Email:<br><%= text_field_tag :email %></li>
                  <li>Password:<br><%= password_field_tag :password %></li>
                  <li>Password Confirmation:<br><%= password_field_tag :password_confirmation %></li>
                  <li><%= submit_tag %></li>
                <% end %>
              </ul>
            </li>
          </ul>
        <% end %>

        </ul>
      </div>
    </div>
    <div style="margin-top: 55px;">
    </div>
  </div>

<%= yield %>

</body>
</html>
<commit_msg>Fix minor typo<commit_after><!DOCTYPE html>
<html>
<head>
  <title>Barter</title>

    <!-- Latest compiled and minified CSS -->
  <%= stylesheet_link_tag    'application', media: 'all' %>
  <%= javascript_include_tag 'application' %>
  <%= csrf_meta_tags %>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">

  <!-- Optional theme -->
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css">

  <!-- Latest compiled and minified JavaScript -->
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
  <script src="https://sdk.amazonaws.com/js/aws-sdk-2.0.0-rc1.min.js"></script>
</head>
<body ng-app="barter" ng-controller="AppController as app">

  <div class="container-fluid">
    <div class="navbar navbar-inverse navbar-fixed-top">
      <ul class="nav navbar-nav navbar-left">
        <a class='navbar-brand glyphicon glyphicon-transfer' href="/"> Barter</a>
      </ul>

      <ul class="nav navbar-nav navbar-right">

        <% if current_user %>

          <div class="navbar-collapse logged-in">
            <ul class="nav navbar-nav">
              <li><a ng-href="#/users/<%=current_user.id%>"><%= current_user.username.capitalize %></a></li>

              <li><a href="/logout" method="destroy"></i>Logout</a></li>
            </ul>
          </div>

        <% else %>

          <ul class="nav nav-tabs">
            <li role="presentation" class="dropdown">
              <a class="dropdown-toggle navbar-brand" data-toggle="dropdown" href="#" role="button" aria-expanded="false">
                Login <span class="caret"></span>
              </a>
              <ul class="dropdown-menu" role="menu">
                <%= form_for :session, url: login_path do |f| %>
                  <li><%= f.label :username %><br><%= f.text_field :username %></li>
                  <li><%= f.label :password %><br><%= f.password_field :password %></li>
                  <li><%= f.submit "Login" %></li>
                <% end %>
              </ul>
            </li>
            <li role="presentation" class="dropdown">
              <a class="dropdown-toggle navbar-brand" data-toggle="dropdown" href="#" role="button" aria-expanded="false">
                Signup <span class="caret"></span>
              </a>
              <ul class="dropdown-menu" role="menu">
                <%= form_tag "/users" do |f| %>
                  <li>Username:<br><%= text_field_tag :username %></li>
                  <li>Email:<br><%= text_field_tag :email %></li>
                  <li>Password:<br><%= password_field_tag :password %></li>
                  <li>Password Confirmation:<br><%= password_field_tag :password_confirmation %></li>
                  <li><%= submit_tag %></li>
                <% end %>
              </ul>
            </li>
          </ul>
        <% end %>

        </ul>
      </div>
    </div>
    <div style="margin-top: 55px;">
    </div>
  </div>

<%= yield %>

</body>
</html>

{'fraction_non_alphanumeric': 0.19312386905741075, 'fraction_numerical': 0.0049350222075999345, 'mean_word_length': 2.145369891360579, 'pattern_counts': {'":': 0, '<': 217, '<?xml version=': 0, '>': 217, 'https://': 8, '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': '3816614', 'n_tokens_mistral': 2038, 'n_tokens_neox': 1877, 'n_words': 366}