<commit_before><div id="signup">

<% form_tag({:action => "signup"}, {:id => "signup_form"}) do %>
    <%= foi_error_messages_for :user_signup %>

    <!--<h2><%= _('If you\'re new to {{site_name}}', :site_name=>site_name)%></h2>-->

    <p>
        <label class="form_label" for="user_signup_email"><%= _('Your e-mail:')%></label>
        <%= text_field 'user_signup', 'email', { :size => 20, :tabindex => 60 } %>
    </p>
    <div class="form_item_note">
        <%= _('We will not reveal your email address to anybody unless you or
        the law tell us to (<a href="%s">details</a>). ') %[help_privacy_path] %>
    </div>

    <p>
        <label class="form_label" for="user_signup_name"> <%= _('Your name:')%></label>
        <%= text_field 'user_signup', 'name', { :size => 20, :tabindex => 70 } %>
    </p>
    <div class="form_item_note">
         <%= _('Your <strong>name will appear publicly</strong> 
        (<a href="%s">why?</a>)
        on this website and in search engines. If you
        are thinking of using a pseudonym, please 
        <a href="%s">read this first</a>.') % [help_privacy_path+"#public_request", help_privacy_path+"#real_name"] %>
    </div>

    <p>
        <label class="form_label" for="user_signup_password"> <%= _('Password:')%></label>
        <%= password_field 'user_signup', 'password', { :size => 15, :tabindex => 80 } %>
    </p>

    <p>
        <label class="form_label" for="user_signup_password_confirmation"> <%= _('Password: (again)')%></label>
        <%= password_field '<PASSWORD>signup', 'password_<PASSWORD>', { :size => 15, :tabindex => 90 } %>
    </p>

    <% if @request_from_foreign_country %>
    <%= recaptcha_tags %>
    <% end %>

    <div class="form_button">
        <%= hidden_field_tag 'token', params[:token], {:id => 'signup_token' } %>
        <%= hidden_field_tag :modal, params[:modal], {:id => 'signup_modal' } %>
        <%= submit_tag _('Sign up'), :tabindex => 100 %>
    </div>

<% end %>

</div><commit_msg>Disable auto-complete for signup fields to fix a bug with Chrome auto-filling.<commit_after><div id="signup">

<% form_tag({:action => "signup"}, {:id => "signup_form"}) do %>
    <%= foi_error_messages_for :user_signup %>

    <!--<h2><%= _('If you\'re new to {{site_name}}', :site_name=>site_name)%></h2>-->

    <p>
        <label class="form_label" for="user_signup_email"><%= _('Your e-mail:')%></label>
        <%= text_field 'user_signup', 'email', { :size => 20, :tabindex => 60 } %>
    </p>
    <div class="form_item_note">
        <%= _('We will not reveal your email address to anybody unless you or
        the law tell us to (<a href="%s">details</a>). ') %[help_privacy_path] %>
    </div>

    <p>
        <label class="form_label" for="user_signup_name"> <%= _('Your name:')%></label>
        <%= text_field 'user_signup', 'name', { :size => 20, :tabindex => 70, :autocomplete => "off" } %>
    </p>
    <div class="form_item_note">
         <%= _('Your <strong>name will appear publicly</strong> 
        (<a href="%s">why?</a>)
        on this website and in search engines. If you
        are thinking of using a pseudonym, please 
        <a href="%s">read this first</a>.') % [help_privacy_path+"#public_request", help_privacy_path+"#real_name"] %>
    </div>

    <p>
        <label class="form_label" for="user_signup_password"> <%= _('Password:')%></label>
        <%= password_field '<PASSWORD>', 'password', { :size => 15, :tabindex => 80, :autocomplete => "off" } %>
    </p>

    <p>
        <label class="form_label" for="user_signup_password_confirmation"> <%= _('Password: (again)')%></label>
        <%= password_field '<PASSWORD>', 'password_confirmation', { :size => 15, :tabindex => 90, :autocomplete => "off" } %>
    </p>

    <% if @request_from_foreign_country %>
    <%= recaptcha_tags %>
    <% end %>

    <div class="form_button">
        <%= hidden_field_tag 'token', params[:token], {:id => 'signup_token' } %>
        <%= hidden_field_tag :modal, params[:modal], {:id => 'signup_modal' } %>
        <%= submit_tag _('Sign up'), :tabindex => 100 %>
    </div>

<% end %>

</div>
{'fraction_non_alphanumeric': 0.21209912536443148, 'fraction_numerical': 0.01020408163265306, 'mean_word_length': 3.3064853556485354, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 0, '>': 148, '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': '3074080', 'n_tokens_mistral': 1552, 'n_tokens_neox': 1402, 'n_words': 316}