<commit_before><% content_for :head do %>
  <title><%= t('user.sign_up') %></title>
<% end %>

<% content_for :javascript_includes do %>
  <script type="text/javascript">
    $(document).ready(function(){
      $('.first_field').focus();
    });
  </script>
<% end %>

<div class="auth_block">
  <div class="auth_header">
    <div class="auth_header_callout"><%= t('user.signup_callout') %></div>
  </div>
  <div id="auth_form">
    <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
      <%= hidden_field_tag 'page_timestamp', Time.now.to_i %>
      <%= devise_error_messages! %>
      <div class="field_group">
        <p class="auth_label"><%= f.label t('basic.username'), :class=>"emphasize" %></p>
        <p><%= f.text_field :username, :class=>"auth_field first_field" %></p>
      </div>
      <div class="field_group">
        <p class="auth_label"><%= f.label t('basic.email_field'), :class=>"emphasize" %></p>
        <p><%= f.text_field :email, :class=>"auth_field" %></p>
      </div>
      <div class="field_group">
        <p class="auth_label"><%= f.label t('basic.password'), :class=>"emphasize" %></p>
        <p><%= f.password_field :password, :class=>"auth_field" %></p>
      </div>
      <div class="field_group">
        <p class="auth_label"><%= f.label t('basic.password_confirm'), :class=>"emphasize" %></p>
        <p><%= f.password_field :password_confirmation, :class=>"auth_field" %></p>
      </div>
      <div class="action_group">
        <div class="accept">By registering, you agree to our <%= link_to(t('home.privacy_policy'), privacy_policy_path) %> and <%= link_to(t('home.terms_of_service'), terms_of_service_path)%>
        </div>
        <div class="action_signup"><%= f.submit t("user.sign_up"), :class=>"submit" %></div>
      </div>
    <% end %>
  </div>
</div><commit_msg>add facebook to signup option for registrations<commit_after><% content_for :head do %>
  <title><%= t('user.sign_up') %></title>
<% end %>

<% content_for :javascript_includes do %>
  <script type="text/javascript">
    $(document).ready(function(){
      $('.first_field').focus();
    });
  </script>
<% end %>

<div class="auth_block" style="width:355px">
  <div class="auth_header">
    <div class="auth_header_callout"><%= t('user.signup_callout') %></div>
  </div>
  <div id="auth_form">
    <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
      <%= hidden_field_tag 'page_timestamp', Time.now.to_i %>
      <%= devise_error_messages! %>
      <div class="field_group">
        <p class="auth_label"><%= f.label t('basic.username'), :class=>"emphasize" %></p>
        <p><%= f.text_field :username, :class=>"auth_field first_field" %></p>
      </div>
      <div class="field_group">
        <p class="auth_label"><%= f.label t('basic.email_field'), :class=>"emphasize" %></p>
        <p><%= f.text_field :email, :class=>"auth_field" %></p>
      </div>
      <div class="field_group">
        <p class="auth_label"><%= f.label t('basic.password'), :class=>"emphasize" %></p>
        <p><%= f.password_field :password, :class=>"auth_field" %></p>
      </div>
      <div class="field_group">
        <p class="auth_label"><%= f.label t('basic.password_confirm'), :class=>"emphasize" %></p>
        <p><%= f.password_field :password_confirmation, :class=>"auth_field" %></p>
      </div>
      <div class="action_group">
        <div class="accept">By registering, you agree to our <%= link_to(t('home.privacy_policy'), privacy_policy_path) %> and <%= link_to(t('home.terms_of_service'), terms_of_service_path)%>
        </div>
        <div class="action_signup"><%= f.submit t("user.sign_up"), :class=>"submit" %></div>
      </div>
    <% end %>
    <hr>
    <div style="padding-top: 10px;border-top: 2px black; text-align: center">
      <a href="/auth/facebook" class="auth_provider">
        <%= image_tag "facebook/fb-connect-large.png", :width => 200, :alt => "Connect with Facebook" %>
      </a>
    </div>
  </div>

</div>
{'fraction_non_alphanumeric': 0.22068625030856578, 'fraction_numerical': 0.002221673660824488, 'mean_word_length': 3.750293083235639, 'pattern_counts': {'":': 0, '<': 135, '<?xml version=': 0, '>': 159, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4253119', 'n_tokens_mistral': 1487, 'n_tokens_neox': 1407, 'n_words': 269}