Sha256: bc44c66b90136e80826ee96b4db4af60d0e1d19ab0e08508a7be14a30f42965a

Contents?: true

Size: 743 Bytes

Versions: 168

Compression:

Stored size: 743 Bytes

Contents

.row.panel.allergy-status-form
  - no_known_allergies = patient.allergy_status.no_known_allergies?
  - model = Renalware::Clinical::AllergyStatusForm.new(no_known_allergies: no_known_allergies)
  = simple_form_for model,
                    url: patient_clinical_allergy_status_path(patient_id: patient),
                    wrapper: "horizontal_form",
                    html: { id: "allergy-status-form", autocomplete: "off" },
                    method: :put do |f|
    .flex-container(class="#{ "disabled" if patient.allergies.count > 0}")

      = f.check_box :no_known_allergies
      = f.label :no_known_allergies, t(".no_known_allergies")
      = f.submit t(".save"), class: "button", data: { disable_with: t(".save_disable_with") }

Version data entries

168 entries across 168 versions & 1 rubygems

Version Path
renalware-core-2.0.18 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.17 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.16 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.15 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.14 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.13 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.12 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.11 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.9 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.8 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.7 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.5 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.4 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.3 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.2 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.1 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.0 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.0.pre.rc13 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.0.pre.rc11 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.0.pre.rc10 app/views/renalware/clinical/allergy_statuses/_form.html.slim