Sha256: 9fc7e815f49f7da51a85781152a1af186c29fe014cdb267feb79bef2c4b68df4

Contents?: true

Size: 740 Bytes

Versions: 9

Compression:

Stored size: 740 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

9 entries across 9 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta12 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.0.pre.beta11 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.0.pre.beta10 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.0.pre.beta9 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.0.pre.beta7 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.0.pre.beta6 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.0.pre.beta5 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.0.pre.beta4 app/views/renalware/clinical/allergy_statuses/_form.html.slim