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.1.1 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.1.0 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.167 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.166 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.165 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.164 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.163 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.162 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.161 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.160 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.159 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.158 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.157 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.156 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.155 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.153 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.152 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.151 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.149 app/views/renalware/clinical/allergy_statuses/_form.html.slim
renalware-core-2.0.148 app/views/renalware/clinical/allergy_statuses/_form.html.slim