Sha256: 375fa6576b550a0e7dc443ce9926f95c81d3b293e43f504be5d713dcd05a399d

Contents?: true

Size: 884 Bytes

Versions: 55

Compression:

Stored size: 884 Bytes

Contents

= within_admin_layout(title: "Patients") do
  = render "renalware/patients/index_header"

  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

55 entries across 55 versions & 1 rubygems

Version Path
renalware-core-2.0.46 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.45 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.44 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.43 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.42 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.41 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.40 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.39 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.38 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.37 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.36 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.35 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.34 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.33 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.32 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.31 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.30 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.28 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.27 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.26 app/views/renalware/deaths/index.html.slim