Sha256: b6e30cba46f0b892c5ff480928ff72c23218a5b392f7dbf3c85073b2db352616

Contents?: true

Size: 1.02 KB

Versions: 93

Compression:

Stored size: 1.02 KB

Contents

= within_patient_layout(title: "Edit",
  breadcrumbs: breadcrumb_for("Clinical Profile", patient_clinical_profile_path)) do

  .row.document
    = simple_form_for patient.document,
                      url: patient_clinical_profile_path(patient),
                      method: :patch,
                      as: :clinical_profile,
                      wrapper: "horizontal_form",
                      html: { autocomplete: "off" } do |f|

      .columns.large-12
        article
          header
            h2 Diabetes
          .hint If YES, enter year of diagnosis
          = render_input f, :diabetes

        article
          header
            h2 History

          = f.simple_fields_for :history, patient.document.history do |fd|
            = fd.input :alcohol, input_html: { class: "small-input" }
            = fd.input :smoking, input_html: { class: "small-input" }

        .columns.large-12
          = submit_tag "Update", class: "button"
          span= " or "
          = link_to "Cancel", patient_clinical_profile_path(patient)

Version data entries

93 entries across 93 versions & 1 rubygems

Version Path
renalware-core-2.0.99 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.98 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.97 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.96 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.95 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.94 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.93 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.92 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.91 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.90 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.89 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.88 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.87 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.86 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.85 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.84 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.83 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.82 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.81 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.80 app/views/renalware/clinical/profiles/edit.html.slim