table thead th.col-width-tiny th.col-width-date Diagnosed on th Organisms th Outcome th Treatment th.col-width-date= t("updated_at") tbody - exit_site_infections.each do |e| tr valign="top" td valign="top" - unless current_user.has_role?(:read_only) = link_to "View", patient_pd_exit_site_infection_path(patient, e.id), class: "view-es-infection", id: "view-es-infection-#{e.id}" td valign="top" = l e.diagnosis_date td valign="top" = e.infection_organisms.map { |io| io.organism_code&.name }.join(" + ") td valign="top" = e.outcome td valign="top" = e.treatment td valign="top" = e.updated_at.to_date