<commit_before><% content_for :social_account_popup_content do %>
  <h1>Create your Factlink account</h1>

  <%= form_for(@user, as: :user, url: social_sign_up_or_in_path, html: { class: "form-horizontal" }) do |f| %>

    <%= f.hidden_field :social_account_id, value: @social_account.id %>

    <div class="control-group">
      (If you already have an account, fill in your details to connect with <%= @social_account.provider_name.capitalize %>.)
    </div>

    <div class="control-group">
      <%= f.label :email, "Email address", class: "control-label" %>

      <div class="controls">
        <%= f.text_field :email %>
        <%= possible_error_for_field(@user, :email) %>
      </div>
    </div>

    <div class="control-group">
      <%= f.label :password, "Password", class: "control-label" %>

      <div class="controls">
        <%= f.text_field :password %>
        <%= possible_error_for_field(@user, :password) %>
      </div>
    </div>

    <div class="form-actions">
      <%= f.submit "Continue", class: "button", 'data-disable-with' => "Submitting..." %>
    </div>
  <% end %>
<% end %><commit_msg>Use password field<commit_after><% content_for :social_account_popup_content do %>
  <h1>Create your Factlink account</h1>

  <%= form_for(@user, as: :user, url: social_sign_up_or_in_path, html: { class: "form-horizontal" }) do |f| %>

    <%= f.hidden_field :social_account_id, value: @social_account.id %>

    <div class="control-group">
      (If you already have an account, fill in your details to connect with <%= @social_account.provider_name.capitalize %>.)
    </div>

    <div class="control-group">
      <%= f.label :email, "Email address", class: "control-label" %>

      <div class="controls">
        <%= f.text_field :email %>
        <%= possible_error_for_field(@user, :email) %>
      </div>
    </div>

    <div class="control-group">
      <%= f.label :password, "Password", class: "control-label" %>

      <div class="controls">
        <%= f.password_field :password %>
        <%= possible_error_for_field(@user, :password) %>
      </div>
    </div>

    <div class="form-actions">
      <%= f.submit "Continue", class: "button", 'data-disable-with' => "Submitting..." %>
    </div>
  <% end %>
<% end %>
{'fraction_non_alphanumeric': 0.1835920177383592, 'fraction_numerical': 0.0017738359201773836, 'mean_word_length': 3.201117318435754, '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': '5995828', 'n_tokens_mistral': 806, 'n_tokens_neox': 730, 'n_words': 164}