Sha256: ec0fff51aab77c1ad2a784c6b6c32f0c2c11a594bf02f64dd29038d441c0a09e

Contents?: true

Size: 1020 Bytes

Versions: 82

Compression:

Stored size: 1020 Bytes

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

  - 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

82 entries across 82 versions & 1 rubygems

Version Path
renalware-core-2.0.69 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.68 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.67 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.64 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.63 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.62 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.61 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.60 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.58 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.57 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.56 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.55 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.54 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.53 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.52 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.51 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.50 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.48 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.47 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.46 app/views/renalware/pd/regimes/_form.html.slim