<commit_before><div class="container center">
  <h1>Login</h1>

  <%= form_for :user, url: { action: 'new' } do |f| %>
    <div class="row">
      <form class="col s12">
        <div class="row">
          <div class="input-field col s4 offset-s4">
            <%= f.label :username %>
            <%= f.text_field :username %>
          </div>
          <div class="input-field col s4 offset-s4">
            <%= f.label :password %>
            <%= f.password_field :password %>
          </div>
          <div class="input-field col s4 offset-s4">
            <%= f.label :password_confirmation %>
            <%= f.password_field :password_confirmation %>
          </div>
        </div>
        <div class="center row">
          <%= f.submit 'Register', :class => "waves-effect waves-light btn" %>
        </div>
      </form>
    </div>
  <% end %>
</div>
<commit_msg>rename form submit button and require user email instead of username for login<commit_after><div class="container center">
  <h1>Login</h1>

  <%= form_for :user, url: { action: 'new' } do |f| %>
    <div class="row">
      <form class="col s12">
        <div class="row">
          <div class="input-field col s4 offset-s4">
            <%= f.label :email %>
            <%= f.text_field :email %>
          </div>
          <div class="input-field col s4 offset-s4">
            <%= f.label :password %>
            <%= f.password_field :password %>
          </div>
          <div class="input-field col s4 offset-s4">
            <%= f.label :password_confirmation %>
            <%= f.password_field :password_confirmation %>
          </div>
        </div>
        <div class="center row">
          <%= f.submit 'Login', :class => "waves-effect waves-light btn" %>
        </div>
      </form>
    </div>
  <% end %>
</div>

{'fraction_non_alphanumeric': 0.1716500553709856, 'fraction_numerical': 0.01107419712070875, 'mean_word_length': 1.8637083993660857, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 59, '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': '506743', 'n_tokens_mistral': 605, 'n_tokens_neox': 563, 'n_words': 138}