<commit_before><div class="titleB">Signup</div>
<p>
    <span class="fontsmaller">Already registered? <%= link_to "Click here to login", login_path %>.</span>  
</p>

<br />
<%= error_messages_for :user %>
<% form_for :user, :url => users_path, :html => {:id => "f_signup", :name => "f_signup" } do |f| -%>
  <fieldset>
    <div class="fields">
      <p>
          <% unless config["plugins.tog_user.email_as_login"] %>
            <label for="email">Login</label>
            <%= f.text_field :login, :class => "fieldbox", :size => "40" %>
          <% end %>
      </p>

      <p>
        <label for="email">Email</label>
        <%= f.text_field :email, :class => "fieldbox", :size => "40" %>
      </p>

      <p>
        <label for="pass">Password</label>
        <%= f.password_field :password, :class => "fieldbox", :size => "40" %>
      </p>

      <p>
        <label for="repass">Repeat password</label>
        <%= f.password_field :password_confirmation, :class => "fieldbox", :size => "40" %>
      </p>  

       <% if config["plugins.tog_user.captcha_enabled"] %>
          <p>
            <label for="code">Type the two words</label>
            <%= recaptcha_tags(:display =>{:lang => config["plugins.tog_core.language.default"]}) %>
          </p>
       <% end %>
    </div>
  </fieldset>

  <br />
  <div class="actions">
    <%= submit_tag 'Sign up!', :class => "button mainaction" %><commit_msg>Fixed label for login instead of email<commit_after><div class="titleB">Signup</div>
<p>
    <span class="fontsmaller">Already registered? <%= link_to "Click here to login", login_path %>.</span>  
</p>

<br />
<%= error_messages_for :user %>
<% form_for :user, :url => users_path, :html => {:id => "f_signup", :name => "f_signup" } do |f| -%>
  <fieldset>
    <div class="fields">
      <p>
          <% unless config["plugins.tog_user.email_as_login"] %>
            <label for="login">Login</label>
            <%= f.text_field :login, :class => "fieldbox", :size => "40" %>
          <% end %>
      </p>

      <p>
        <label for="email">Email</label>
        <%= f.text_field :email, :class => "fieldbox", :size => "40" %>
      </p>

      <p>
        <label for="pass">Password</label>
        <%= f.password_field :password, :class => "fieldbox", :size => "40" %>
      </p>

      <p>
        <label for="repass">Repeat password</label>
        <%= f.password_field :password_confirmation, :class => "fieldbox", :size => "40" %>
      </p>  

       <% if config["plugins.tog_user.captcha_enabled"] %>
          <p>
            <label for="code">Type the two words</label>
            <%= recaptcha_tags(:display =>{:lang => config["plugins.tog_core.language.default"]}) %>
          </p>
       <% end %>
    </div>
  </fieldset>

  <br />
  <div class="actions">
    <%= submit_tag 'Sign up!', :class => "button mainaction" %>
{'fraction_non_alphanumeric': 0.20846449807625045, 'fraction_numerical': 0.005596362364463099, 'mean_word_length': 2.5265104808877927, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 125, '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': '2984756', 'n_tokens_mistral': 1044, 'n_tokens_neox': 966, 'n_words': 204}