= content_for(:actions) do = link_to t("new_record.link_title"), new_patient_modality_path(patient), class: "button" = within_patient_layout(title: "Modality History") do article table thead tr th Modality th Notes th.col-width-date Start Date th.col-width-date.wide Termination Date th Added by tbody - modalities.each do |modality| tr td= modality.description.name td= modality.notes td= l modality.started_on td= l modality.ended_on td= modality.created_by.full_name