Sha256: 9032253579c833f6d5168f3a4dee71ef413c9fbe6dc744e3733b5e2687a12b60
Contents?: true
Size: 1.41 KB
Versions: 168
Compression:
Stored size: 1.41 KB
Contents
= rb.hidden_field :regime_id .row .large-5.columns.inline = rb.association :bag_type, collection: bag_types, include_blank: t("collection.blank_option"), input_html: { class: "bag-types" } .large-3.columns.inline = rb.input :volume, collection: regime.class::BAG_VOLUMES, include_blank: t("collection.blank_option"), wrapper_class: "small-12 medium-12" .large-2.columns .right = link_to "Duplicate", "#", class: "duplicate-bag" | | = rb.submit "Remove", name: "actions[remove][#{rb.index}]", class: "right remove-bag" = rb.link_to_remove "Remove", class: "remove-bag hide" -if regime.apd? .row .small-12.columns = rb.input :role, as: :inline_radio_buttons, boolean_style: :inline -if regime.capd? .row .small-12.columns = rb.input :capd_overnight_bag, as: :inline_radio_buttons .row.bag-days .large-12.columns class="#{highlight_days_invalid(rb.object)}" .title label Days to be administered: a.deselect-bag-days(href="#") Deselect all div - Date::DAYNAME_SYMBOLS.each do |day| = rb.input day, as: :boolean, boolean_style: :inline, wrapper: false, label_html: { class: "nested" }
Version data entries
168 entries across 168 versions & 1 rubygems