Sha256: 6b99384ff28836ce3e506eccf4a5a840fe53520ca627de09348541422bdaf009

Contents?: true

Size: 1.02 KB

Versions: 32

Compression:

Stored size: 1.02 KB

Contents

= f.hidden_field :type

= field_set_tag "PD Regime" do

  = f.input :treatment,
            collection: available_pd_treatments_for(f.object),
            include_blank: t("collection.blank_option"),
            wrapper: :horizontal_medium,
            autofocus: true

  - if f.object.apd?
    = f.input :assistance_type, wrapper: :horizontal_small, default: :none

  = f.association :system,
                  collection: system_options_for(f.object),
                  include_blank: t("collection.blank_option"),
                  wrapper: :horizontal_small

  = f.input :delivery_interval,
            collection: Renalware::PD::DeliveryIntervalPresenter.dropdown_options,
            wrapper: :horizontal_small
  = f.input :start_date, as: :date_picker, wrapper: :horizontal_datepicker
  = f.input :end_date, as: :date_picker, wrapper: :horizontal_datepicker
  = f.input :add_hd, as: :boolean, wrapper: :horizontal_small

= render(partial: "pd_regime_bags", locals: { f: f })
= render(partial: "apd_fields", locals: { f: f }) if f.object.apd?

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
renalware-core-2.0.81 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.80 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.79 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.78 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.77 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.76 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.75 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.74 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.73 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.72 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.71 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.70 app/views/renalware/pd/regimes/_form.html.slim