<commit_before>- @title = t('attendance.heading_html', group: link_to(@group.name, @group), when: @attended_at.to_s(:date))

.row
  .col-md-8
    %p
      = label_tag :attended_at, t('attendance.date') + ':', class: 'inline'
      = date_field_tag :attended_at, @attended_at.to_s(:date)

    = form_tag batch_group_attendance_index_path(@group), id: 'attendance_form' do
      = hidden_field_tag :attended_at, @attended_at
      %ul{:style => "list-style:none;"}
        - @records.each do |person, record|
          %li
            = check_box_tag 'ids[]', person.id, record ? true : false, id: "ids_#{person.id}"
            = label_tag "ids_#{person.id}", person.name, class: 'inline'
      %p= button_tag t('attendance.save'), class: 'btn btn-success'

  .col-md-4
    .box.box-info
      .box-header
      .box-body
        = form_tag search_path, remote: true, style: 'border:none;' do
          = hidden_field_tag :select_person, true
          = hidden_field_tag :no_auto_submit, true
          %p
            %label{:for => "add_person_name"}
              = t('attendance.add_somebody_not_in_group')
              \:
            = text_field_tag 'name', nil, id: 'add_person_name'
            = submit_tag t('search.search_by_name')
        #add_member{:style => "display:none;"}
          = form_tag group_attendance_index_path(@group), method: 'post', id: 'add_people_form' do
            = hidden_field_tag :attended_at, @attended_at, id: nil
            #results
            %p= button_tag t('search.add_selected'), class: 'btn btn-success'
<commit_msg>Update attendance page styling.<commit_after>- @title = t('attendance.heading_html', group: link_to(@group.name, @group), when: @attended_at.to_s(:date))

.row
  .col-md-8
    %p
      = label_tag :attended_at, t('attendance.date') + ':', class: 'inline'
      = date_field_tag :attended_at, @attended_at.to_s(:date)

    = form_tag batch_group_attendance_index_path(@group), id: 'attendance_form' do
      = hidden_field_tag :attended_at, @attended_at
      %ul{:style => "list-style:none;"}
        - @records.each do |person, record|
          %li
            = check_box_tag 'ids[]', person.id, record ? true : false, id: "ids_#{person.id}"
            = label_tag "ids_#{person.id}", person.name, class: 'inline'
      %p= button_tag t('attendance.save'), class: 'btn btn-success'

  .col-md-4
    .box.box-info
      .box-header
      .box-body
        = form_tag search_path, remote: true, style: 'border:none;' do
          = hidden_field_tag :select_person, true
          = hidden_field_tag :no_auto_submit, true
          .form-group
            %label{:for => "add_person_name"}
              = t('attendance.add_somebody_not_in_group')
            = text_field_tag 'name', nil, id: 'add_person_name', class: 'form-control'
          .form-group
            = button_tag t('search.search_by_name'), class: 'btn btn-info'
        #add_member{:style => "display:none;"}
          = form_tag group_attendance_index_path(@group), method: 'post', id: 'add_people_form' do
            = hidden_field_tag :attended_at, @attended_at, id: nil
            #results
            %p= button_tag t('search.add_selected'), class: 'btn btn-success'

{'fraction_non_alphanumeric': 0.14383561643835616, 'fraction_numerical': 0.0012453300124533001, 'mean_word_length': 2.784452296819788, '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': '6942639', 'n_tokens_mistral': 1102, 'n_tokens_neox': 1110, 'n_words': 213}