<commit_before><%# using getBootstrap.com %>
<header class="navbar navbar-fixed-top navbar-inverse">
  <div class="container">
    <!-- brand and toggle group -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <%# link_to "PaperTrading", root_path, id: "logo" %>
      <a href="/" id="logo">PaperTrading<sup>BETA</sup></a>
    </div>
    <!-- collect the login, signup, account, etc. links -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav navbar-right">
        <% if logged_in? %>
        <li><%= link_to "Home", root_path %></li>

          <li><%=  link_to "Users", users_path %></li>
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              Account <b class="caret"></b>
            </a>
            <ul class="dropdown-menu">
              <li><%= link_to "Profile", current_user %></li>
              <li><%= link_to "Settings", edit_user_path(current_user) %></li>
              <li class="divider"></li>
              <li>
                <%= link_to "Log out", logout_path, method: "delete" %>
              </li>
            </ul>
          </li>
        <% else %>
        <li><%= link_to "Log in", login_path %></li>
        <li><%= link_to "Sign Up", signup_path %></li>
        <% end %>
      </ul>

      <div class="nav navbar-nav navbar-right search-query">
          <form class="navbar-form navbar-left navbar-search" role="search" action="/stocks" id="global-nav-search">
            <div class="form-group">
              <div class="input-group search-g">
                <input type="text" class="form-control search-input" placeholder="Search for a stock...">
                <span class="input-group-btn">
                  <button class="btn btn-default" type="submit">
                    <span class="glyphicon glyphicon-search" aria-hidden="true"></span>
                  </button>
                </span>
              </div><!-- /input-group -->
            </div><!-- /form-group-->
          </form><!-- /input form -->
      </div><!-- /searchbar div -->

    </div>  <!-- /.collapse -->
  </div> <!-- /.container -->
</header><commit_msg>update global search form to add input name<commit_after><%# using getBootstrap.com %>
<header class="navbar navbar-fixed-top navbar-inverse">
  <div class="container">
    <!-- brand and toggle group -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <%# link_to "PaperTrading", root_path, id: "logo" %>
      <a href="/" id="logo">PaperTrading<sup>BETA</sup></a>
    </div>
    <!-- collect the login, signup, account, etc. links -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav navbar-right">
        <% if logged_in? %>
        <li><%= link_to "Home", root_path %></li>

          <li><%=  link_to "Users", users_path %></li>
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              Account <b class="caret"></b>
            </a>
            <ul class="dropdown-menu">
              <li><%= link_to "Profile", current_user %></li>
              <li><%= link_to "Settings", edit_user_path(current_user) %></li>
              <li class="divider"></li>
              <li>
                <%= link_to "Log out", logout_path, method: "delete" %>
              </li>
            </ul>
          </li>
        <% else %>
        <li><%= link_to "Log in", login_path %></li>
        <li><%= link_to "Sign Up", signup_path %></li>
        <% end %>
      </ul>

      <div class="nav navbar-nav navbar-right search-query">
          <form class="navbar-form navbar-left navbar-search" role="search" id="global-nav-search" action="/search" method="get">
            <div class="form-group">
              <div class="input-group search-g">
                <input type="text" class="form-control search-input" name="symbol" placeholder="Search for a stock...">
                <span class="input-group-btn">
                  <button class="btn btn-default" type="submit">
                    <span class="glyphicon glyphicon-search" aria-hidden="true">
                    </span>
                  </button>
                </span>
              </div><!-- /input-group -->
            </div><!-- /form-group-->
         </form> <!--/input form-->
      </div><!-- /searchbar div -->
    </div>  <!-- /.collapse -->
  </div> <!-- /.container -->
</header>
{'fraction_non_alphanumeric': 0.19248003117085524, 'fraction_numerical': 0.0007792713812585232, 'mean_word_length': 2.0450771055753263, 'pattern_counts': {'":': 0, '<': 169, '<?xml version=': 0, '>': 169, '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': '3203285', 'n_tokens_mistral': 1593, 'n_tokens_neox': 1516, 'n_words': 347}