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.101 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.100 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.99 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.98 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.97 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.96 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.95 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.94 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.93 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.92 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.91 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.90 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.89 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.88 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.87 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.86 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.85 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.84 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.83 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.82 app/views/renalware/pd/regimes/_form.html.slim