Sha256: 4008234758eb2553b39518c2fa870618a5ed8e001a8ce0ffc8f67353da329200
Contents?: true
Size: 1.6 KB
Versions: 2
Compression:
Stored size: 1.6 KB
Contents
= within_patient_layout(title: "Edit", breadcrumbs: breadcrumb_for("Clinical Profile", patient_clinical_profile_path)) do .row.document = simple_form_for patient, 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 General = f.association :named_consultant, as: :user_picker, collection: Renalware::User.consultants, wrapper: :horizontal_medium = f.association :named_nurse, as: :user_picker, collection: Renalware::User.ordered, wrapper: :horizontal_medium = f.simple_fields_for :document, patient.document do |fdoc| .columns.large-12 article header h2 Diabetes .hint If YES, enter year of diagnosis = render_input fdoc, :diabetes article header h2 History = fdoc.simple_fields_for :history, patient.document.history do |fh| = fh.input :alcohol, input_html: { class: "small-input" } = fh.input :smoking, input_html: { class: "small-input" } .columns.large-12.form-actions = submit_tag "Update", class: "button" ' or = link_to t("btn.cancel"), patient_clinical_profile_path(patient)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
renalware-core-2.1.1 | app/views/renalware/clinical/profiles/edit.html.slim |
renalware-core-2.1.0 | app/views/renalware/clinical/profiles/edit.html.slim |