Sha256: 2f0121a6f7570a9fd7f2542305fe2f58ee0f5d9eb98b5bc4503db21a09ef42da

Contents?: true

Size: 902 Bytes

Versions: 14

Compression:

Stored size: 902 Bytes

Contents

= within_admin_layout(title: "HD Dialysers") do
  dl.sub-nav
    dd= link_to "List", hd_dialysers_path
    dd= link_to "Add dialyser", new_hd_dialyser_path

  table.auto-layout
    thead
      tr
        th.col-width-small
        th.col-width-small Group
        th.col-width-large Name
        th.col-width-small Membrane Surface Area
        th Membrane Surface Area (K0A)
    tbody
      - dialysers.each do |dialyser|
        tr
          td
            = link_to "Edit", edit_hd_dialyser_path(dialyser.id)
            = pipe_separator
            = link_to "Delete",
                      hd_dialyser_path(dialyser.id),
                      method: :delete,
                      data: { confirm: I18n.t("prompts.confirm_delete") }
          td= dialyser.group
          td= dialyser.name
          td= dialyser.membrane_surface_area
          td= dialyser.membrane_surface_area_coefficient_k0a

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
renalware-core-2.0.46 app/views/renalware/hd/dialysers/index.html.slim
renalware-core-2.0.45 app/views/renalware/hd/dialysers/index.html.slim
renalware-core-2.0.44 app/views/renalware/hd/dialysers/index.html.slim
renalware-core-2.0.43 app/views/renalware/hd/dialysers/index.html.slim
renalware-core-2.0.42 app/views/renalware/hd/dialysers/index.html.slim
renalware-core-2.0.41 app/views/renalware/hd/dialysers/index.html.slim
renalware-core-2.0.40 app/views/renalware/hd/dialysers/index.html.slim
renalware-core-2.0.39 app/views/renalware/hd/dialysers/index.html.slim
renalware-core-2.0.38 app/views/renalware/hd/dialysers/index.html.slim
renalware-core-2.0.37 app/views/renalware/hd/dialysers/index.html.slim
renalware-core-2.0.36 app/views/renalware/hd/dialysers/index.html.slim
renalware-core-2.0.35 app/views/renalware/hd/dialysers/index.html.slim
renalware-core-2.0.34 app/views/renalware/hd/dialysers/index.html.slim
renalware-core-2.0.33 app/views/renalware/hd/dialysers/index.html.slim