<commit_before><% if user_signed_in? %>
    <li class="<%= 'active' if current_page?(favorites_path) %>"><%= link_to raw("<i class=\"icon-star\" ></i>"), favorites_path, :title => t('menu.favoris') %></li>
    <li><%= link_to t("menu.editAccount"), edit_user_registration_path %></li>
  <li>
    <%= link_to t("menu.logout"), destroy_user_session_path, :method=>'delete' %>
  </li>
<% else %>
  <li class="dropdown">
    <a class="dropdown-toggle" href="#" data-toggle="dropdown"><%= t("menu.signIn")%> <strong class="caret"></strong></a>
    <div class="dropdown-menu" style="padding: 10px; padding-bottom: 0px;">

      <%= bootstrap_form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %><commit_msg>new user menu when is logged in<commit_after><% if user_signed_in? %>
    <li class="<%= 'active' if current_page?(favorites_path) %>"><%= link_to raw("<i class=\"icon-star\" ></i>"), favorites_path, :title => t('menu.favoris') %></li>

    <li class="dropdown">
      <a data-toggle="dropdown" class="dropdown-toggle" href="#"><%= raw (current_user.login == nil) ? "<b class='icon-user'></b> #{current_user.email}" : "<b class='icon-twitter'></b> #{current_user.login}" %></a>
      <ul class="dropdown-menu">
        <li><%= link_to t("menu.editAccount"), edit_user_registration_path %></li>
        <li><%= link_to t("menu.logout"), destroy_user_session_path, :method=>'delete' %></li>
      </ul>
    </li>


<% else %>
  <li class="dropdown">
    <a class="dropdown-toggle" href="#" data-toggle="dropdown"><%= t("menu.signIn")%> <strong class="caret"></strong></a>
    <div class="dropdown-menu" style="padding: 10px; padding-bottom: 0px;">

      <%= bootstrap_form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
{'fraction_non_alphanumeric': 0.23365008384572386, 'fraction_numerical': 0.003353828954723309, 'mean_word_length': 5.08843537414966, 'pattern_counts': {'":': 0, '<': 58, '<?xml version=': 0, '>': 66, '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': '1878965', 'n_tokens_mistral': 652, 'n_tokens_neox': 614, 'n_words': 126}