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.104 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.103 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.102 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.101 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.100 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.99 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.98 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.97 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.96 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.95 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.94 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.93 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.92 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.91 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.90 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.89 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.88 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.87 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.86 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.85 app/views/renalware/clinical/allergy_statuses/_form.html.slim