<commit_before>%fieldset
  .field
    = f.label :given_name, 'Given Name'
    = f.text_field :given_name
  .field
    = f.label :family_name, 'Family Name'
    = f.text_field :family_name
  .field
    = f.label :gender, 'Gender'
    = f.radio_button :gender, 'm'
    Male
    \&nbsp;&nbsp;
    = f.radio_button :gender, 'f'
    Female
  .field
    = f.label :anonymous, "Anonymous"
    = f.check_box :anonymous
    %span.smalltext Hide name on the "Who&#39;s Coming" list
  .field
    = f.label :birth_date, 'Birth date'
    = f.date_select :birth_date, :start_year => @year.year, :end_year => 1900, :include_blank => true
    %span.smalltext (to identify minors)
  .field
    = f.label :understand_minor, 'Liability Release for Minors'
    = f.check_box :understand_minor, class: "valign-middle"
    %div#liability-release-instructions.smalltext
      I understand that if this attendee will not be at least 18 years old on
      = CONG<EMAIL>_START_<EMAIL>[<EMAIL>].to_formatted_s(:long)
      then I must submit the #{link_to_liability_release} to the
      = link_to 'registrar.', contacts_path, :target => '_blank'
  .field
    = f.label :guardian_full_name
    = f.text_field :guardian_full_name
    %span.smalltext Attending adult responsible for minor
  .field
    = f.label :tshirt_size
    = f.select :tshirt_size, Attendee::TSHIRT_CHOICES, :include_blank => ''
<commit_msg>prefer attr of year model to deprecated constant<commit_after>%fieldset
  .field
    = f.label :given_name, 'Given Name'
    = f.text_field :given_name
  .field
    = f.label :family_name, 'Family Name'
    = f.text_field :family_name
  .field
    = f.label :gender, 'Gender'
    = f.radio_button :gender, 'm'
    Male
    \&nbsp;&nbsp;
    = f.radio_button :gender, 'f'
    Female
  .field
    = f.label :anonymous, "Anonymous"
    = f.check_box :anonymous
    %span.smalltext Hide name on the "Who&#39;s Coming" list
  .field
    = f.label :birth_date, 'Birth date'
    = f.date_select :birth_date, :start_year => @year.year, :end_year => 1900, :include_blank => true
    %span.smalltext (to identify minors)
  .field
    = f.label :understand_minor, 'Liability Release for Minors'
    = f.check_box :understand_minor, class: "valign-middle"
    %div#liability-release-instructions.smalltext
      I understand that if this attendee will not be at least 18 years old on
      = @year.start_date.to_formatted_s(:long)
      then I must submit the #{link_to_liability_release} to the
      = link_to 'registrar.', contacts_path, :target => '_blank'
  .field
    = f.label :guardian_full_name
    = f.text_field :guardian_full_name
    %span.smalltext Attending adult responsible for minor
  .field
    = f.label :tshirt_size
    = f.select :tshirt_size, Attendee::TSHIRT_CHOICES, :include_blank => ''

{'fraction_non_alphanumeric': 0.1163375224416517, 'fraction_numerical': 0.005745062836624776, 'mean_word_length': 3.359937402190923, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 16, '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': '4219494', 'n_tokens_mistral': 1013, 'n_tokens_neox': 965, 'n_words': 243}