table thead tr th.col-width-tiny th.col-width-date Diagnosed on th.col-width-date Treatment Started on th Episode Type th Outcome th.col-width-date= t("updated_at") tbody - peritonitis_episodes.each do |episode| tr valign="top" td valign="top" = link_to "View", patient_pd_peritonitis_episode_path(patient, episode.id), class: "view-pe", id: "view-pe-#{episode.id}" td valign="top" = l episode.diagnosis_date td valign="top" = l episode.treatment_start_date td valign="top" = episode.episode_types_summary td valign="top" = "Catheter Removed: #{yes_no(episode.catheter_removed)}" td valign="top" = episode.updated_at.to_date