Sha256: 1816b26dbede931773c25984fc8ad5175166977e5dd4001b1037498cc07ac5ca

Contents?: true

Size: 934 Bytes

Versions: 21

Compression:

Stored size: 934 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.show-for-large-up.col-width-medium-with-ellipsis= aki_alert.patient.current_modality
  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

21 entries across 21 versions & 1 rubygems

Version Path
renalware-core-2.0.41 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.40 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.39 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.38 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.37 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.36 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.35 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.34 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.33 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.32 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.31 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.30 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.28 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.27 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.26 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.25 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.24 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.23 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.22 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim
renalware-core-2.0.21 app/views/renalware/renal/aki_alerts/_aki_alert.html.slim