<commit_before><div id="new_item">
  <div id="new_item_container">
    <%= image_tag 'registration.png', :title => 'Registration' %>

    <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
      <%= devise_error_messages! %>
      <%= flash[:alert] %>

      <div class="field"><%= f.label :name %><br />
        <%= f.text_field :name %></div>

      <div class="field"><%= f.label :email %><br />
        <%= f.text_field :email %></div>

      <div class="field special"><%= f.label :email_confirmation %><br />
        <%= f.text_field :email_confirmation %></div>


      <div class="field"><%= f.label :password %><br />
        <%= f.password_field :password %></div>

      <div class="field"><%= f.label :password_confirmation %><br />
        <%= f.password_field :password_confirmation %></div>

      <%= recaptcha_tags %>

      <div class="actions"><%= image_submit_tag "sign_up_button.png" %></div>
    <% end %>

    <%= render 'devise/shared/links' %>
  </div>
</div>

<%= content_for :js do %>
  $(document).ready(function() {
    var validator = $("#user_new").validate({
      rules: {
        'user[email]': "required",
        'user[name]': "required",
        'user[password]': { required: true, minlength: 6 },
        'user[password_confirmation]': { required: true, minlength: 6, equalTo: '#user_password' }
      }
    });
  });
<% end -%>
<commit_msg>fixed sign up page bug<commit_after><div id="new_item">
  <div id="new_item_container">
    <%= image_tag 'registration.png', :title => 'Registration' %>

    <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
      <%= devise_error_messages! %>
      <%= flash[:alert] %>

      <div class="field"><%= f.label :name %><br />
        <%= f.text_field :name %></div>

      <div class="field"><%= f.label :email %><br />
        <%= f.text_field :email %></div>

      <div class="field special"><%= f.label :email_confirmation %><br />
        <%= f.text_field :email_confirmation %></div>


      <div class="field"><%= f.label :password %><br />
        <%= f.password_field :password %></div>

      <div class="field"><%= f.label :password_confirmation %><br />
        <%= f.password_field :password_confirmation %></div>

      <%= recaptcha_tags %>

      <div class="actions"><%= image_submit_tag "sign_up_button.png" %></div>
    <% end %>

    <%= render 'devise/shared/links' %>
  </div>
</div>

<%= content_for :js do %>
  <script type="text/javascript">
    $(document).ready(function() {
      var validator = $("#user_new").validate({
        rules: {
          'user[email]': "required",
          'user[name]': "required",
          'user[password]': { required: true, minlength: 6 },
          'user[password_confirmation]': { required: true, minlength: 6, equalTo: '#user_password' }
        }
      });
    });
  </script>
<% end -%>

{'fraction_non_alphanumeric': 0.21162393162393162, 'fraction_numerical': 0.0013675213675213675, 'mean_word_length': 3.0303030303030303, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 93, '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': '5269012', 'n_tokens_mistral': 1038, 'n_tokens_neox': 951, 'n_words': 195}