Sha256: 9832a98204ee6f66a94662338ae80e5ce71b301f3681b71916e273d2fc332d86
Contents?: true
Size: 1.37 KB
Versions: 28
Compression:
Stored size: 1.37 KB
Contents
= content_for(:actions) do = link_to t("new_record.link_title"), new_pd_bag_type_path, class: "button" = within_new_admin_layout do table thead tr th th Manufacturer th Description th Glucose (g/l) th Glucose Strength th Amino acid th Icodextrin th Low GDP th Low Na th Sodium (mmole/l) th Lactate (mmole/l) th Bicarbonate (mmole/l) th Calcium (mmole/l) th Magnesium (mmole/l) tbody - bag_types.each do |bt| tr td.actions = link_to "Edit", edit_pd_bag_type_path(bt.id), id: "edit-bag-type-#{bt.id}" = link_to "Delete", pd_bag_type_path(bt.id), method: :delete, id: "delete-bag-type-#{bt.id}", data: { confirm: I18n.t("prompts.confirm_delete") } td= bt.manufacturer td= bt.description td= bt.glucose_content td= bt.glucose_strength&.text td= yes_no(bt.amino_acid) td= yes_no(bt.icodextrin) td= yes_no(bt.low_glucose_degradation) td= yes_no(bt.low_sodium) td= bt.sodium_content td= bt.lactate_content td= bt.bicarbonate_content td= bt.calcium_content td= bt.magnesium_content
Version data entries
28 entries across 28 versions & 1 rubygems