<commit_before><div id="register-box">
  <%=form_for @user, id: 'register-form', html: { multipart: true } do  |f| %>
  	<h4>Register</h4>
    <div class="row align-spaced">
      <div class="small-12 medium-6 columns">
        <%= f.text_field :first_name, placeholder: "<NAME>", required: true, title: "First Name" %>
      </div>
      <div class="small-12 medium-6 columns">
        <%= f.text_field :last_name, placeholder: "<NAME>", required: true, title: "Last Name" %>
      </div>
    </div>
    <div class="row align-spaced">
      <div class="small-9 medium-6 columns">
        <%= f.text_field :user_name, placeholder: "<NAME>", required: true, title: "User Name" %>
      </div>
      <div class="small-3 medium-4 columns">
        <%= f.number_field :age, min: "18", max: "100", placeholder: "Age", required: true, title: "Age" %>
      </div>
    </div>
    <div class="row align-spaced">
      <div class="small-12 columns">
        <%= f.file_field :photo, placeholder: "photo", title: "photo" %>
      </div>
      <div class="small-12 columns">
        <%= f.text_area :bio, placeholder: "Bio", title: "Bio" %>
      </div>
    </div>
    <div class="row align-spaced">
      <div class="small-12 medium-6 columns">
        <%= f.email_field :email, placeholder: "Email", pattern: "^[a-z0-9._%+-]+@[a-z0-9.-]+.[a-z]{2,4}$", required: true, title: "Email"%>
      </div>
      <div class="small-12 medium-6 columns">
        <%= f.password_field :password, placeholder: "Password", required: true, title: "Password" %>
      </div>
    </div>
    <div class="row columns">
      <%= f.submit "Register", class: 'button large', id: "register-button" %>
    </div>
  <% end %>
</div>
<commit_msg>add password confirmation and birthday fields, remove age<commit_after><div id="register-box">
  <%=form_for @user, id: 'register-form', html: { multipart: true } do  |f| %>
  	<h4>Register</h4>
    <div class="row align-spaced">
      <div class="small-6 columns">
        <%= f.text_field :first_name, placeholder: "<NAME>", required: true, title: "First Name" %>
      </div>
      <div class="small-6 columns">
        <%= f.text_field :last_name, placeholder: "<NAME>", required: true, title: "Last Name" %>
      </div>
    </div>
    <div class="row align-spaced">
      <div class="small-12 medium-6 columns">
        <%= f.text_field :user_name, placeholder: "<NAME>", required: true, title: "User Name" %>
      </div>
      <!-- <div class="small-4 medium-2 columns"> -->
        <!-- Birthday: -->
      <!-- </div> -->
      <div class="small-12 medium-6 columns" id="user-birthday">
        <div id="user-birthday-label">
          <span>Birthday:</span>
        </div>
        <%= f.date_select :birthday, start_year: 1900, end_year: 2000, title: "Birthday", required: true %>
      </div>
    </div>
    <div class="row align-spaced">
      <div class="small-12 columns">
        <%= f.file_field :photo, placeholder: "photo", title: "photo" %>
      </div>
    </div>
    <div class="row algin-spaced">
      <div class="small-12 columns">
        <%= f.text_area :bio, placeholder: "Bio", title: "Bio" %>
      </div>
    </div>
    <div class="row align-spaced">
      <div class="small-12 medium-6 columns">
        <%= f.email_field :email, placeholder: "Email", pattern: "^[a-z0-9._%+-]+@[a-z0-9.-]+.[a-z]{2,4}$", required: true, title: "Email"%>
      </div>
      <div class="small-12 medium-6 columns">
        <%= f.password_field :password, placeholder: "Password", required: true, title: "Password" %>
      </div>
      <div class="small-12 columns">
        <%= f.password_field :password_confirmation, placeholder: "<PASSWORD>", required: true, title: "confirm password" %>
      </div>
    </div>
    <div class="row columns">
      <%= f.submit "Register", class: 'button large', id: "register-button" %>
    </div>
  <% end %>
</div>

{'fraction_non_alphanumeric': 0.20309278350515464, 'fraction_numerical': 0.01829896907216495, 'mean_word_length': 2.8236453201970444, 'pattern_counts': {'":': 0, '<': 106, '<?xml version=': 0, '>': 106, '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': '2491074', 'n_tokens_mistral': 1375, 'n_tokens_neox': 1297, 'n_words': 327}