<commit_before><%= form_for(@user) do |f| %>
  <% if @user.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2>

      <ul>
      <% @user.errors.full_messages.each do |message| %>
        <li><%= message %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <table>
    <tr class="field">
      <th><%= f.label :username %></th>
      <td><%= f.text_field :name %></td>
    </tr>
    <tr class="field">
      <th><%= f.label :email %></th>
      <td><%= f.text_field :email %></td>
    </tr>
    <tr class="field">
      <th><%= f.label :password %></th>
      <td><%= f.password_field :password %></td>
    </tr>
    <tr class="field">
      <th><%= f.label :password_confirmation %></th>
      <td><%= f.password_field :password_confirmation %></td>
    </tr>
    <tr class="field">
      <th><%= f.label :first_name %></th>
      <td><%= f.text_field :first_name %></td>
    </tr>
    <tr class="field">
      <th><%= f.label :last_name %></th>
      <td><%= f.text_field :last_name %></td>
    </tr>
    <tr class="actions">
      <td colspan="2"><%= f.submit %></td>
    </tr>
  </table>
<% end %><commit_msg>Add Bootstrap styling to user creation form<commit_after><%= form_for(@user) do |f| %>
  <% if @user.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2>

      <ul>
      <% @user.errors.full_messages.each do |message| %>
        <li><%= message %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <table>
    <tr class="field">
      <th><%= f.label :username %></th>
      <td><%= f.text_field :name, class: 'form-control' %></td>
    </tr>
    <tr class="field">
      <th><%= f.label :email %></th>
      <td><%= f.text_field :email, class: 'form-control' %></td>
    </tr>
    <tr class="field">
      <th><%= f.label :password %></th>
      <td><%= f.password_field :password, class: 'form-control' %></td>
    </tr>
    <tr class="field">
      <th><%= f.label :password_confirmation %></th>
      <td><%= f.password_field :password_confirmation, class: 'form-control' %></td>
    </tr>
    <tr class="field">
      <th><%= f.label :first_name %></th>
      <td><%= f.text_field :first_name, class: 'form-control' %></td>
    </tr>
    <tr class="field">
      <th><%= f.label :last_name %></th>
      <td><%= f.text_field :last_name, class: 'form-control' %></td>
    </tr>
    <tr class="actions">
      <td colspan="2"><%= f.submit class: 'btn btn-success' %></td>
    </tr>
  </table>
<% end %>
{'fraction_non_alphanumeric': 0.24419931532902245, 'fraction_numerical': 0.002282236591860023, 'mean_word_length': 2.607681755829904, 'pattern_counts': {'":': 0, '<': 145, '<?xml version=': 0, '>': 145, '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': '6319412', 'n_tokens_mistral': 1038, 'n_tokens_neox': 970, 'n_words': 229}