Sha256: 8be8b104394a91a38f1b5392200c0edfd87fcdfa4d116c7d3cd26b4517d2df8d
Contents?: true
Size: 641 Bytes
Versions: 21
Compression:
Stored size: 641 Bytes
Contents
ruby: klasses = [] klasses << "covid_19" if alert.covid_19? klasses << "urgent" if alert.urgent? title = "Alert:" title = "COVID-19 (CONFIRMED) Alert:" if alert.covid_19? li.patient-alert(class=(klasses.join(" ")) id="alert-#{alert.id}") i.fas.fa-exclamation-triangle span.title= title span.body= alert.notes span.author= alert.created_by.username span.date= l(alert.created_at.to_date) span.actions = link_to(patient_alert_path(alert.patient, alert), remote: true, method: :delete, data: { confirm: "Are you sure you want to remove this alert?" }) do i.fas.fa-trash
Version data entries
21 entries across 21 versions & 1 rubygems