Sha256: f4c464b7b8bc09f40edf746e3e63254036feed1f0e25c9e33ea486940c9bfaa1

Contents?: true

Size: 849 Bytes

Versions: 6

Compression:

Stored size: 849 Bytes

Contents

= simple_form_for presenter.q,
                  as: :q,
                  url: hd_mdm_patients_path,
                  method: :get,
                  html: { autocomplete: "off" },
                  wrapper: :horizontal_form do |f|
  .row
    .medium-4.columns
      = f.input :hd_profile_hospital_unit_id_eq,
          collection: Renalware::Hospitals::Centre.with_hd_sites.ordered,
          as: :grouped_select, group_method: :hd_sites,
          label: t(".hospital_unit")

    .medium-4.columns
      = f.input :hd_profile_schedule_eq,
          collection: Renalware::HD::Profile.schedule.options,
          include_blank: true,
          label:  t(".schedule")

    .medium-4.columns.actions
      = f.submit t("helpers.submit.filter"), class: "button", name: nil
      span= " or "
      = link_to t("helpers.reset"), hd_mdm_patients_path

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta9 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.0.pre.beta7 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.0.pre.beta6 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.0.pre.beta5 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.0.pre.beta4 app/views/renalware/hd/mdm_patients/_filters.html.slim