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.62 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.61 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.60 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.58 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.57 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.56 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.55 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.54 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.53 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.52 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.51 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.50 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.48 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.47 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.46 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.45 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.44 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.43 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.42 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.41 app/views/renalware/clinical/allergy_statuses/_form.html.slim