Sha256: 47ebc485037d5f56f392cfe170a04ab4691ccb3afb2ab97505f54f53197bec80

Contents?: true

Size: 1.23 KB

Versions: 63

Compression:

Stored size: 1.23 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 :exchanges_done_by, wrapper: :horizontal_small
  = f.input :exchanges_done_by_if_other, wrapper: :horizontal_small
  = f.input :exchanges_done_by_notes, as: :string, wrapper: :horizontal_medium
  = 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

63 entries across 63 versions & 1 rubygems

Version Path
renalware-core-2.1.1 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.1.0 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.167 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.166 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.165 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.164 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.163 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.162 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.161 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.160 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.159 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.158 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.157 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.156 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.155 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.153 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.152 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.151 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.149 app/views/renalware/pd/regimes/_form.html.slim
renalware-core-2.0.148 app/views/renalware/pd/regimes/_form.html.slim