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