Sha256: 7cb207c2f9e74bb81aab58e0dd0b1e38f03fa15635cc045053d058d56535041e
Contents?: true
Size: 1.14 KB
Versions: 162
Compression:
Stored size: 1.14 KB
Contents
article.clinical-allergies header h2= t(".legend") / Link to launch the modal dialog = link_to t(".add"), "#", class: "button right", data: { "reveal-id" => "add-allergy-modal" } p.current-status | Current status: i= patient.allergy_status.text table.natural-width thead tr th.col-width-large= t(".description") th.col-width-date-time= t(".recorded_at") th.col-width-tiny tbody - delete_confirmation_msg = I18n.t("prompts.confirm_delete_with_model", model: "allergy") - patient.allergies.each do |allergy| tr data-allergy-id=allergy.id td= allergy.description td = l(allergy.recorded_at) td.right = link_to t(".delete"), patient_clinical_allergy_path(patient_id: patient, id: allergy), method: :delete, data: { confirm: delete_confirmation_msg } = render "renalware/clinical/allergies/new", link_text: t(".add"), patient: patient = render "renalware/clinical/allergy_statuses/form", patient: patient
Version data entries
162 entries across 162 versions & 1 rubygems