Sha256: 6ccf41e3f82fb71f8c2ff24d7b8042643e9a6fdf316859c3fe963052d6433f7b

Contents?: true

Size: 1.38 KB

Versions: 19

Compression:

Stored size: 1.38 KB

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
        th.col-width-mediumish= sort_link([:renalware, q], :family_name, "Name")
        th.col-width-nhs-no NHS No.
        th.col-width-reference-no Hosp No.
        th.col-width-tiny Sex
        th.col-width-tiny Age
        th.col-width-date= sort_link([:renalware, q], :born_on, "Date of Birth")
        th.col-width-date= sort_link([:renalware, q], :died_on, "Date of Death")
        th First cause
        th Current Modality
        th Previous Modality

    tbody
      - patients.each do |patient|
        tr
          td.actions
            = link_to edit_patient_death_path(patient),
                      title: "Edit death details" do
              i.fas.fa-edit
              span.show-for-large-up
                |  Death details
          td= default_patient_link(patient)
          td= patient.nhs_number
          td= patient.hospital_identifier
          td= patient.sex
          td= patient.age
          td= l patient.born_on
          td= l patient.died_on
          td= patient.first_cause&.description
          td= patient.current_modality
          td= patient.previous_modality

  == pagy_foundation_nav pagy

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
renalware-core-2.0.167 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.166 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.165 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.164 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.163 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.162 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.161 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.160 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.159 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.158 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.157 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.156 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.155 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.153 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.152 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.151 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.149 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.148 app/views/renalware/deaths/index.html.slim
renalware-core-2.0.147 app/views/renalware/deaths/index.html.slim