Sha256: 49e3dc763afeafe0ad1eece42e77664d074fd690aecf61e736c4b46ea66abba7

Contents?: true

Size: 990 Bytes

Versions: 5

Compression:

Stored size: 990 Bytes

Contents

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

  table#patients-deceased
    thead
      tr
        th.col-width-large
        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

    tbody
      - @patients.each do |patient|
        tr
          td
            = link_to "Demographics", patient_path(patient), title: "Demographics"
            = pipe_separator
            = link_to "Edit death details",
                      edit_patient_death_path(patient),
                      title: "Edit death details"
          td= patient.to_s(format: :default)
          td= patient.nhs_number
          td= patient.hospital_identifier
          td= patient.sex
          td= l patient.born_on
          td= l patient.died_on
          td= patient.age

  = paginate @patients

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta9 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.0.pre.beta7 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.0.pre.beta6 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.0.pre.beta5 app/views/renalware/deaths/index.html.slim