Sha256: c58f517d270b1cc9543ce59303ee9cd71d54e39c3d20a7f3f369fedb0f42c207

Contents?: true

Size: 844 Bytes

Versions: 5

Compression:

Stored size: 844 Bytes

Contents

- toggleable_id = "aki-alert-quick-preview-#{aki_alert.id}"
tr(class="#{'aki_alert--hotlist' if aki_alert.hotlist?}")
  td
    = link_to("Edit", edit_renal_aki_alert_path(aki_alert))
    |  | 
    = link_to("Toggle",
              "##{toggleable_id}",
              data: { behaviour: "toggler" })
  td= default_patient_link(aki_alert.patient)
  td= aki_alert.patient.hospital_identifiers
  td= aki_alert.patient.sex
  td= aki_alert.patient.age
  td= aki_alert.action
  td= [aki_alert.hospital_ward, aki_alert.hospital_ward&.hospital_unit&.unit_code]\
      .compact.join(" - ")
  td= yes_no aki_alert.hotlist?
  td= aki_alert.max_aki
  td= l(aki_alert.aki_date)
  td= aki_alert.decided_by
= content_tag(:tr, id: "#{toggleable_id}", style: "display: none")
  td.notes Notes
  td(colspan=10)
    .quick-preview
      =aki_alert.notes

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
renalware-core-2.0.18 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.17 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.16 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.15 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.14 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim