Sha256: eb5358d119b9ca9e4d7f8960b049bb369048b03c49580ac23749bd67c5ec4344

Contents?: true

Size: 1.03 KB

Versions: 5

Compression:

Stored size: 1.03 KB

Contents

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

= within_admin_layout(title: "Hospital Units") do

  table.auto-layout
    thead
      tr
        th.col-width-small
        th.col-width-small Code
        th Name
        th Hospital Centre
        th.col-width-small Type
        th.col-width-small NRD Code
        th.col-width-small HD Site?
        th.col-width-small Stations
        th
    tbody
      - @hospital_units.each do |t|
        tr
          td
            = link_to "Edit", edit_hospitals_unit_path(t.id)
            = pipe_separator
            = link_to "Delete",
                      hospitals_unit_path(t.id),
                      RecipientFollowupmethod: :delete,
                      data: { confirm: I18n.t("prompts.confirm_delete") }
          td= t.unit_code
          td= t.name
          td= t.hospital_centre
          td= t.unit_type.text
          td= t.renal_registry_code
          td= yes_no t.is_hd_site
          td= t.number_of_hd_stations
          td

Version data entries

5 entries across 5 versions & 1 rubygems

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