<commit_before><%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %><br /><br />

<div class="flex-center">
<!--Form with header-->
  <div class="card">
      <div class="card-block">

          <!--Header-->
          <div class="form-header blue-gradient">
              <h3><i class="fa fa-user"></i> Register:</h3>
          </div>

          <!--Body-->
          <div class="md-form">
              <i class="fa fa-envelope prefix"></i>
              <%= f.email_field :email, class: "form-control", id: "form2" %>
              <label for="form2">Your email</label>
          </div>

          <div class="md-form">
              <i class="fa fa-lock prefix"></i>
              <%= f.password_field :password, autocomplete: "off", class: "form-control", id: "form4" %>
              <label for="form4">Your password</label>
          </div>

          <div class="text-center">
              <button class="btn btn-indigo">Sign up</button>
              <hr>
              <fieldset class="form-group">
                  <input type="checkbox" id="checkbox1">
                  <label for="checkbox1">Subscribe me to the newsletter</label>
              </fieldset>
          </div>
      </div>
  </div>
</div>
<br /><br />
<% end %>


<commit_msg>Add remote:true to sign_up form<commit_after><div id="flash">
</div>

<%= form_for(resource, as: resource_name, url: registration_path(resource_name), remote: true) do |f| %><br /><br />

<div class="flex-center">
<!--Form with header-->
  <div class="card">
      <div class="card-block" >

          <!--Header-->
          <div class="form-header blue-gradient">
              <h3><i class="fa fa-user"></i> Register:</h3>
          </div>

          <!--Body-->
          <div class="md-form">
              <i class="fa fa-envelope prefix"></i>
              <%= f.email_field :email, class: "form-control", id: "form2" %>
              <label for="form2">Your email</label>
          </div>

          <div class="md-form">
              <i class="fa fa-lock prefix"></i>
              <%= f.password_field :password, autocomplete: "off", class: "form-control", id: "form4" %>
              <label for="form4">Your password</label>
          </div>

          <div class="text-center">
              <button class="btn btn-indigo">Sign up</button>
              <hr>
              <fieldset class="form-group">
                  <input type="checkbox" id="checkbox1">
                  <label for="checkbox1">Subscribe me to the newsletter</label>
              </fieldset>
          </div>
      </div>
  </div>
</div>
<br /><br />
<% end %>




{'fraction_non_alphanumeric': 0.18487712665406428, 'fraction_numerical': 0.0060491493383742915, 'mean_word_length': 1.8451612903225807, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 95, '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': '7048245', 'n_tokens_mistral': 825, 'n_tokens_neox': 782, 'n_words': 186}