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

Version Path
renalware-core-2.0.153 app/views/renalware/clinical/allergies/_list.html.slim
renalware-core-2.0.152 app/views/renalware/clinical/allergies/_list.html.slim
renalware-core-2.0.151 app/views/renalware/clinical/allergies/_list.html.slim
renalware-core-2.0.149 app/views/renalware/clinical/allergies/_list.html.slim
renalware-core-2.0.148 app/views/renalware/clinical/allergies/_list.html.slim
renalware-core-2.0.147 app/views/renalware/clinical/allergies/_list.html.slim
renalware-core-2.0.146 app/views/renalware/clinical/allergies/_list.html.slim
renalware-core-2.0.145 app/views/renalware/clinical/allergies/_list.html.slim
renalware-core-2.0.144 app/views/renalware/clinical/allergies/_list.html.slim
renalware-core-2.0.143 app/views/renalware/clinical/allergies/_list.html.slim
renalware-core-2.0.142 app/views/renalware/clinical/allergies/_list.html.slim
renalware-core-2.0.141 app/views/renalware/clinical/allergies/_list.html.slim
renalware-core-2.0.140 app/views/renalware/clinical/allergies/_list.html.slim
renalware-core-2.0.139 app/views/renalware/clinical/allergies/_list.html.slim
renalware-core-2.0.138 app/views/renalware/clinical/allergies/_list.html.slim
renalware-core-2.0.137 app/views/renalware/clinical/allergies/_list.html.slim
renalware-core-2.0.136 app/views/renalware/clinical/allergies/_list.html.slim
renalware-core-2.0.135 app/views/renalware/clinical/allergies/_list.html.slim
renalware-core-2.0.134 app/views/renalware/clinical/allergies/_list.html.slim
renalware-core-2.0.133 app/views/renalware/clinical/allergies/_list.html.slim