<commit_before><nav class="navbar navbar-default navbar-fixed-top" role="navigation">
	<div class="navbar-header">
        <a class="navbar-brand" rel="home" href="/">Events App</a>
		<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".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>
	</div>
	<div class="collapse navbar-collapse">
		<ul class="nav navbar-nav">
      <li><%= link_to 'today', events_path(events: 'today') %></li>
			<li><%= link_to 'upcoming', events_path %></li>
      <li><%= link_to 'past', events_path(events: 'past') %></li>
			<li><%= link_to 'add event', new_event_path %></li>
      <% if current_user %>
        <%=  current_user.email %>
        <li><%= link_to 'logout', logout_path %></li>
      <% else %>
        <li><%= link_to 'sign up', signup_path %></li>
        <li><%= link_to 'login', login_path %></a></li>
      <% end %>
      
<!-- 			<li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li><a href="#">Link</a></li>
                <li><a href="#">Another action</a></li>
                <li class="divider"></li>
                <li><a href="#">Separated link</a></li>
                <li class="divider"></li>
                <li><a href="#">One more separated link</a></li>
              </ul>
      </li> -->
		</ul>

    <!-- SEARCH -->
		<div class="col-sm-3 col-md-3 pull-right">
        <div class="navbar-form">
            <%= form_tag(events_path, method: 'get') do %>
                <div class='input-group'>
                  <%= text_field_tag :search, params[:search], placeholder: 'Search for ...', class: 'form-control' %>
                  <span class='input-group-btn'>
                    <button class="btn btn-default" type="submit">
                    <i class="glyphicon glyphicon-search"></i></button>
                  </span>
                </div>
            <% end %>
        </div>
		</div>
    <!-- END SEARCH -->
	</div>
</nav><commit_msg>changed header layout a bit<commit_after><nav class="navbar navbar-default navbar-fixed-top" role="navigation">
    <div class="col-md-12">
	     <div class="navbar-header">
        <a class="navbar-brand" rel="home" href="/">Events App</a>
    		<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".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>
    	</div>
    	<div class="collapse navbar-collapse">
    		<ul class="nav navbar-nav">   
          <li><%= link_to 'today', events_path(events: 'today') %></li>
    			<li><%= link_to 'upcoming', events_path %></li>
          <li><%= link_to 'past', events_path(events: 'past') %></li>
    			<li><%= link_to 'add event', new_event_path %></li>

        <!-- SEARCH -->
    		<div class="navbar-form navbar-left">
            <div class="navbar-form">
                <%= form_tag(events_path, method: 'get') do %>
                    <div class='input-group'>
                      <%= text_field_tag :search, params[:search], placeholder: 'Search for ...', class: 'form-control' %>
                      <span class='input-group-btn'>
                        <button class="btn btn-default" type="submit">
                        <i class="glyphicon glyphicon-search"></i></button>
                      </span>
                    </div>
                <% end %>
            </div>
    		</div>
        <!-- END SEARCH -->

      <ul class="nav navbar-nav navbar-right">
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown">
          <% if current_user %>
            <%=  current_user.email %><b class="caret"></b>
          </a>
          <ul class="dropdown-menu">
            <li><%= link_to 'Settings', edit_user_path(current_user) %></li>
            <li><%= link_to 'Logout', logout_path %></li>
          <% else %>
            <li><%= link_to 'Sign up', signup_path %></li>
            <li><%= link_to 'Login', login_path %></a></li>
          <% end %>
          </ul>
        </li>
      </ul>
    </div>
  </div>
</nav>
{'fraction_non_alphanumeric': 0.20298372513562388, 'fraction_numerical': 0.0009041591320072332, 'mean_word_length': 2.085774058577406, 'pattern_counts': {'":': 0, '<': 172, '<?xml version=': 0, '>': 172, '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': '6529768', 'n_tokens_mistral': 1496, 'n_tokens_neox': 1376, 'n_words': 292}