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.121 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.120 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.119 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.118 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.117 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.116 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.115 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.113 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.112 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.111 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.110 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.109 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.108 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.106 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.105 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.104 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.103 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.102 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.101 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.100 app/views/renalware/clinical/profiles/edit.html.slim