<commit_before>table.table-applications
  thead
    .header-row
      td.table-applications-col-student Student
      td.table-applications-col-guardian Guardian
      td.table-applications-col-phone Phone
      td.table-applications-col-email Email
      td.table-applications-col-submitted Submitted
      td.table-applications-col-confirmation Confirmation
  tbody
  - @students.each do |student|
    tr.row
      - guardian = student.contact_people[0]
      a href="/admin/district/application/#{student.id}"
        td.table-applications-col-student
          = student.first_name
          span &nbsp;
          = student.last_name
        td.table-applications-col-guardian
          = guardian.first_name
          span &nbsp;
          = guardian.last_name
        td.table-applications-col-phone
          = guardian.main_phone
        td.table-applications-col-email
          = guardian.email || '(not given)'
        td.table-applications-col-submitted
          = student.guardian_complete_time.localtime.strftime('%F, %H:%M %p')
        td.table-applications-col-confirmation
          = student.confirmation_code

.applications-pages
  - @num_pages.times do |page_number|
    .page-number
      - pn = page_number + 1
      = link_to page_number + 1, "/admin/district/applications/#{page_number + 1}"<commit_msg>Made applications clickable to go to details page<commit_after>table.table-applications
  thead
    .header-row
      td.table-applications-col-student Student
      td.table-applications-col-guardian Guardian
      td.table-applications-col-phone Phone
      td.table-applications-col-email Email
      td.table-applications-col-submitted Submitted
      td.table-applications-col-confirmation Confirmation
  tbody
  - @students.each do |student|
    tr.row
      - guardian = student.contact_people[0]
      - link_url = "/admin/district/application/#{student.id}"
      td.table-applications-col-student
        = link_to "#{student.first_name} #{student.last_name}", link_url
      td.table-applications-col-guardian
        = link_to "#{guardian.first_name} #{guardian.last_name}", link_url
      td.table-applications-col-phone
        = link_to guardian.main_phone, link_url
      td.table-applications-col-email
        - if guardian.email
          = link_to guardian.email, link_url
        - else
          span '(not given)'
      td.table-applications-col-submitted
        = link_to student.guardian_complete_time.localtime.strftime('%F, %H:%M %p'), link_url
      td.table-applications-col-confirmation
        = link_to student.confirmation_code, link_url

.applications-pages
  - @num_pages.times do |page_number|
    .page-number
      - pn = page_number + 1
      = link_to page_number + 1, "/admin/district/applications/#{page_number + 1}"
{'fraction_non_alphanumeric': 0.10692500897021888, 'fraction_numerical': 0.0028704700394689632, 'mean_word_length': 2.6349413298565842, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5381289', 'n_tokens_mistral': 882, 'n_tokens_neox': 851, 'n_words': 136}