Sha256: 9cd7860ee6596b0aa3b9165485d46d2b3540e7fbe5d53152004b9429c4336325

Contents?: true

Size: 1.22 KB

Versions: 149

Compression:

Stored size: 1.22 KB

Contents

= within_patient_layout(title: "Cause of Death",
    breadcrumbs: breadcrumb_for("Clinical Profile", patient_clinical_profile_path(patient))) do

  = simple_form_for patient,
      url: patient_death_path(patient),
      html: { autocomplete: "off" },
      wrapper: "horizontal_form" do |f|

    = f.input :died_on,
              as: :date_picker,
              label: "Date of Death",
              wrapper: :horizontal_datepicker

    = f.association :first_cause,
                    label: "Cause of Death (1)",
                    label_method: :description,
                    value_method: :id,
                    include_blank: "Select 1st cause of death",
                    wrapper: :horizontal_medium

    = f.association :second_cause,
                    label: "Cause of Death (2)",
                    label_method: :description,
                    value_method: :id,
                    include_blank: "Select 2nd cause of death",
                    wrapper: :horizontal_medium

    = f.input :death_notes,
              label: "Notes",
              as: :text, input_html: { rows: 5 },
              wrapper: :horizontal_large

    = f.button :submit
    span= " or "
    = link_to "cancel", patient_clinical_profile_path(patient)

Version data entries

149 entries across 149 versions & 1 rubygems

Version Path
renalware-core-2.0.127 app/views/renalware/deaths/edit.html.slim
renalware-core-2.0.126 app/views/renalware/deaths/edit.html.slim
renalware-core-2.0.125 app/views/renalware/deaths/edit.html.slim
renalware-core-2.0.124 app/views/renalware/deaths/edit.html.slim
renalware-core-2.0.123 app/views/renalware/deaths/edit.html.slim
renalware-core-2.0.121 app/views/renalware/deaths/edit.html.slim
renalware-core-2.0.120 app/views/renalware/deaths/edit.html.slim
renalware-core-2.0.119 app/views/renalware/deaths/edit.html.slim
renalware-core-2.0.118 app/views/renalware/deaths/edit.html.slim
renalware-core-2.0.117 app/views/renalware/deaths/edit.html.slim
renalware-core-2.0.116 app/views/renalware/deaths/edit.html.slim
renalware-core-2.0.115 app/views/renalware/deaths/edit.html.slim
renalware-core-2.0.113 app/views/renalware/deaths/edit.html.slim
renalware-core-2.0.112 app/views/renalware/deaths/edit.html.slim
renalware-core-2.0.111 app/views/renalware/deaths/edit.html.slim
renalware-core-2.0.110 app/views/renalware/deaths/edit.html.slim
renalware-core-2.0.109 app/views/renalware/deaths/edit.html.slim
renalware-core-2.0.108 app/views/renalware/deaths/edit.html.slim
renalware-core-2.0.106 app/views/renalware/deaths/edit.html.slim
renalware-core-2.0.105 app/views/renalware/deaths/edit.html.slim