<commit_before>.content.page-content
  .pure-u-1.pure-u-md-1-3
    %div
  .pure-u-1.pure-u-md-1-3.center
    %h2 Sign Up
    = form_for(resource, as: resource_name, url: registration_path(resource_name), :html => {:class => "pure-form pure-form-stacked"} ) do |f|
      %fieldset
        = devise_error_messages!
        %legend
          Welcome, to
          %span.snap
            snap
        = f.label :username
        = f.text_field :username, autofocus: true, class: 'pure-u-1-2'
        = f.label :email
        = f.email_field :email, autofocus: true, class: 'pure-u-1-2'
        = f.label :password
        - if @validatable
          %em
            (#{@minimum_password_length} characters minimum)
        %br/
        = f.password_field :password, autocomplete: "off", class: 'pure-u-1-2'
        = f.label :password_confirmation
        = f.password_field :password_confirmation, autocomplete: "off", class: 'pure-u-1-2'
        %br/
        %label
          When were you born?
        = date_select :user, :birthdate
        %em
          If you are less than 13 years old, you must have you parent's permission, and use your parent's email address.
      
        %label
          Do you agree to our Terms of Service?
        = label_tag(:tos_agree, "Agree")
        = check_box_tag(:tos_agree)

    
        .actions
          %br/
          = f.submit "Sign up", :class => 'pure-button pure-input-1-2 pure-button-primary'<commit_msg>Add years to signup birthdate.  Fixes #67<commit_after>.content.page-content
  .pure-u-1.pure-u-md-1-3
    %div
  .pure-u-1.pure-u-md-1-3.center
    %h2 Sign Up
    = form_for(resource, as: resource_name, url: registration_path(resource_name), :html => {:class => "pure-form pure-form-stacked"} ) do |f|
      %fieldset
        = devise_error_messages!
        %legend
          Welcome, to
          %span.snap
            snap
        = f.label :username
        = f.text_field :username, autofocus: true, class: 'pure-u-1-2'
        = f.label :email
        = f.email_field :email, autofocus: true, class: 'pure-u-1-2'
        = f.label :password
        - if @validatable
          %em
            (#{@minimum_password_length} characters minimum)
        %br/
        = f.password_field :password, autocomplete: "off", class: 'pure-u-1-2'
        = f.label :password_confirmation
        = f.password_field :password_confirmation, autocomplete: "off", class: 'pure-u-1-2'
        %br/
        %label
          When were you born?
        = date_select :user, :birthdate, start_year: 75.years.ago.year
        %em
          If you are less than 13 years old, you must have you parent's permission, and use your parent's email address.
      
        %label
          Do you agree to our Terms of Service?
        = label_tag(:tos_agree, "Agree")
        = check_box_tag(:tos_agree)

    
        .actions
          %br/
          = f.submit "Sign up", :class => 'pure-button pure-input-1-2 pure-button-primary'
{'fraction_non_alphanumeric': 0.12234580384226491, 'fraction_numerical': 0.014155712841253791, 'mean_word_length': 1.9919354838709677, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '6261338', 'n_tokens_mistral': 1009, 'n_tokens_neox': 960, 'n_words': 237}