<commit_before><!DOCTYPE html>
<html>
<head>

  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <title>Anime Chase</title>
  <%= stylesheet_link_tag    'application', media: 'all' %>
  <%= javascript_include_tag 'application' %>
  <%= csrf_meta_tags %>
  <%= analytics_init if Rails.env.production? %>
</head>
<body>
<div>
<nav class="navbar navbar-default navbar-fixed-top">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>

    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li class="active"><a href="/">Anime Chase <span class="sr-only">(current)</span></a></li>
        <li><a href="/random">Discover</a></li>
        <li><a href="/top-animes">Top Animes</a></li>

      </ul>



  <% if current_user %>
      <ul class="nav navbar-nav navbar-right">
        <li><%= link_to "Watch List", "/watchlist" %></li>
        <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><%="#{current_user.first_name} " %><img src="<%= current_user.user_img_url%>" height="25"><span class="caret"></span></a>
          <ul class="dropdown-menu" role="menu">
            <li> <%= link_to "Sign out", "/signout" %></li>

          </ul>
        </li>
      </ul>
  <% else %>
      
      <ul class="nav navbar-nav navbar-right">
   
     
<li>        <%= link_to "Login with Facebook", "/auth/facebook"%></li>


        </li>
      </ul>


    <% end %>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>
</div>

<%= yield %>

</body>
</html>
<commit_msg>added dropdown button to nav-bar<commit_after><!DOCTYPE html>
<html>
<head>

  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <title>Anime Chase</title>
  <%= stylesheet_link_tag    'application', media: 'all' %>
  <%= javascript_include_tag 'application' %>
  <%= csrf_meta_tags %>
  <%= analytics_init if Rails.env.production? %>
</head>
<body>
<div>
<nav class="navbar navbar-default navbar-fixed-top">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>

    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li class="active"><a href="/">Anime Chase <span class="sr-only">(current)</span></a></li>
                <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Discover <span class="caret"></span></a>
          <ul class="dropdown-menu" role="menu">
            <li><a href="/random">Random</a></li>
            <li><a href="/top-animes">Top 100 by Score</a></li>
          </ul>
        </li>
      </ul>



  <% if current_user %>
      <ul class="nav navbar-nav navbar-right">
        <li><%= link_to "Watch List", "/watchlist" %></li>
        <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><%="#{current_user.first_name} " %><img src="<%= current_user.user_img_url%>" height="25"><span class="caret"></span></a>
          <ul class="dropdown-menu" role="menu">
            <li> <%= link_to "Sign out", "/signout" %></li>

          </ul>
        </li>
      </ul>
  <% else %>
      
      <ul class="nav navbar-nav navbar-right">
   
     
<li>        <%= link_to "Login with Facebook", "/auth/facebook"%></li>


        </li>
      </ul>


    <% end %>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>
</div>

<%= yield %>

</body>
</html>

{'fraction_non_alphanumeric': 0.21013412816691504, 'fraction_numerical': 0.003193527783691718, 'mean_word_length': 2.9478991596638657, 'pattern_counts': {'":': 0, '<': 181, '<?xml version=': 0, '>': 181, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6255681', 'n_tokens_mistral': 1626, 'n_tokens_neox': 1527, 'n_words': 323}