!!! 5 %html %head %title - if enrollment \ Enrollment - else \ Entrance - if review \ Pre-Applicants - else \ Applicants %meta{ charset: 'utf-8' } = wicked_pdf_stylesheet_link_tag 'pdf' %body %h2.headline - if enrollment \ Enrollment - else \ Entrance - if review \ Pre-Applicants - else \ Applicants .d-block.text-left.subtitle= "as of #{l(side_content[:date])}" %table.table %thead %tr %th.caption.text-muted Student %th.caption.text-muted Family %th.caption.text-muted Grade %th.caption.text-muted Status %th.caption.text-muted Tags %tbody - applicants.each do |applicant| %tr %td.caption= applicant.reviewed_prop(:full_name, :reverse) %td.caption= applicant.family_name %td.caption= applicant.grade_level %td.caption= applicant.system_status %td.caption= applicant.tags.map(&:name).join(', ')