!!! 5 %html %head %title Nursing Logs %meta{ charset: 'utf-8' } = wicked_pdf_stylesheet_link_tag 'pdf' %body .mt-2.w-50.float-left .d-block.title= student.full_name .d-block.body-2= "Grade: #{student.grade_level}" .d-block.body-2= "DOB: #{student.birth_date}" %div.w-100.float-left %table.table %thead %tr.remove-top-border %th.caption.text-muted Date %th.caption.text-muted.text-right Time %th.caption.text-muted.text-right Complaint %tbody - logs.each do |log| %tr %td.caption= log.date %td.caption.text-right= log.time %td.caption.text-right= log.complaint_description