Sha256: 2edad4b72b630d652537dd97d78613454073159d35860b72abd2c7f79bc2495a

Contents?: true

Size: 1011 Bytes

Versions: 81

Compression:

Stored size: 1011 Bytes

Contents

= content_for(:actions) do
  = link_to t("new_record.link_title"), new_patient_path, class: "button"

= content_for(:tabs) do
  = render "renalware/patients/index_header"

= within_admin_layout(title: "Patients") do

  table#patients-deceased
    thead
      tr
        th Name
        th.col-width-nhs-no NHS No.
        th.col-width-reference-no Hosp No.
        th.col-width-tiny Sex
        th.col-width-date Date of Birth
        th.col-width-date Date of Death
        th.col-width-tiny Age
        th.col-width-medium

    tbody
      - patients.each do |patient|
        tr
          td= default_patient_link(patient)
          td= patient.nhs_number
          td= patient.hospital_identifier
          td= patient.sex
          td= l patient.born_on
          td= l patient.died_on
          td= patient.age
          td.actions
            = link_to "Edit death details",
                      edit_patient_death_path(patient),
                      title: "Edit death details"

  = paginate patients

Version data entries

81 entries across 81 versions & 1 rubygems

Version Path
renalware-core-2.0.134 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.133 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.132 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.131 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.130 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.129 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.128 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.127 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.126 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.125 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.124 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.123 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.121 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.120 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.119 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.118 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.117 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.116 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.115 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.113 app/views/renalware/deaths/index.html.slim