Sha256: 3343addc27537b09b9f39b981863e98d3f09b704806d199a8495e4c4bd94f930

Contents?: true

Size: 1.06 KB

Versions: 13

Compression:

Stored size: 1.06 KB

Contents

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

    .medium-3.columns
      = f.input :schedule_definition_ids,
          collection: Renalware::HD::ScheduleDefinitionFilter.all,
          label_method: :days,
          value_method: :ids,
          include_blank: true,
          label: t(".schedule")

    .medium-4.columns
      = f.input :named_nurse_id,
                as: :user_picker,
                collection: Renalware::User.ordered.select(:id, :given_name, :family_name)

    .medium-2.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

13 entries across 13 versions & 1 rubygems

Version Path
renalware-core-2.0.67 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.64 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.63 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.62 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.61 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.60 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.58 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.57 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.56 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.55 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.54 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.53 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.52 app/views/renalware/hd/mdm_patients/_filters.html.slim