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.84 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.83 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.82 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.81 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.80 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.79 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.78 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.77 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.76 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.75 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.74 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.73 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.72 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.71 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.70 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.69 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.68 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.67 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.64 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.63 app/views/renalware/clinical/allergy_statuses/_form.html.slim