Sha256: b614c8cf180a31dac8acf416197ffeffa86d74e7c3600b70ddad40a723ebb9a4

Contents?: true

Size: 1.29 KB

Versions: 157

Compression:

Stored size: 1.29 KB

Contents

= simple_form_for bag_type,
                  html: { autocomplete: "off" },
                  wrapper: :horizontal_form do |f|

  = f.input :id, as: :hidden unless f.object.new_record?
  = f.input :manufacturer,
            collection: manufacturer_options,
            prompt: t(".collection.blank_option"),
            input_html: { class: "manufacturer-select" },
            wrapper: :horizontal_small
  = f.input :description, wrapper: :horizontal_medium
  = f.input :glucose_content, wrapper: :horizontal_small
  = f.input :glucose_strength,
            include_blank: t("collection.blank_option"),
            wrapper: :horizontal_small

  ul.no-bullet
    li= f.input :amino_acid, as: :boolean, wrapper: :horizontal_small
    li= f.input :icodextrin, as: :boolean, wrapper: :horizontal_small
    li= f.input :low_glucose_degradation, as: :boolean, wrapper: :horizontal_small
    li= f.input :low_sodium, as: :boolean, wrapper: :horizontal_small

  = f.input :sodium_content, wrapper: :horizontal_small
  = f.input :lactate_content, wrapper: :horizontal_small
  = f.input :bicarbonate_content, wrapper: :horizontal_small
  = f.input :calcium_content, wrapper: :horizontal_small
  = f.input :magnesium_content, wrapper: :horizontal_small

  = f.button :submit
  span= " or "
  = link_to "Cancel", pd_bag_types_path

Version data entries

157 entries across 157 versions & 1 rubygems

Version Path
renalware-core-2.0.147 app/views/renalware/pd/bag_types/_form.html.slim
renalware-core-2.0.146 app/views/renalware/pd/bag_types/_form.html.slim
renalware-core-2.0.145 app/views/renalware/pd/bag_types/_form.html.slim
renalware-core-2.0.144 app/views/renalware/pd/bag_types/_form.html.slim
renalware-core-2.0.143 app/views/renalware/pd/bag_types/_form.html.slim
renalware-core-2.0.142 app/views/renalware/pd/bag_types/_form.html.slim
renalware-core-2.0.141 app/views/renalware/pd/bag_types/_form.html.slim
renalware-core-2.0.140 app/views/renalware/pd/bag_types/_form.html.slim
renalware-core-2.0.139 app/views/renalware/pd/bag_types/_form.html.slim
renalware-core-2.0.138 app/views/renalware/pd/bag_types/_form.html.slim
renalware-core-2.0.137 app/views/renalware/pd/bag_types/_form.html.slim
renalware-core-2.0.136 app/views/renalware/pd/bag_types/_form.html.slim
renalware-core-2.0.135 app/views/renalware/pd/bag_types/_form.html.slim
renalware-core-2.0.134 app/views/renalware/pd/bag_types/_form.html.slim
renalware-core-2.0.133 app/views/renalware/pd/bag_types/_form.html.slim
renalware-core-2.0.132 app/views/renalware/pd/bag_types/_form.html.slim
renalware-core-2.0.131 app/views/renalware/pd/bag_types/_form.html.slim
renalware-core-2.0.130 app/views/renalware/pd/bag_types/_form.html.slim
renalware-core-2.0.129 app/views/renalware/pd/bag_types/_form.html.slim
renalware-core-2.0.128 app/views/renalware/pd/bag_types/_form.html.slim