Sha256: 1b0c53870b3621392985f5a235c73aa1170ec02525bc62d826c4aa0350a6e4b5

Contents?: true

Size: 1.13 KB

Versions: 39

Compression:

Stored size: 1.13 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

          = f.simple_fields_for :diabetes, patient.document.diabetes do |fd|
            = fd.input :diagnosis, as: :inline_radio_buttons
            = fd.input :diagnosed_on, as: :date_picker

        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

39 entries across 39 versions & 1 rubygems

Version Path
renalware-core-2.0.21 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.20 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.18 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.17 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.16 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.15 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.14 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.13 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.12 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.11 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.9 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.8 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.7 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.5 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.4 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.3 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.2 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.1 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.0 app/views/renalware/clinical/profiles/edit.html.slim
renalware-core-2.0.0.pre.rc13 app/views/renalware/clinical/profiles/edit.html.slim