Sha256: 80351bc3d2dbb3620b258c38317f86816b2b9c4c0bb99865f5bf146c648d4e24

Contents?: true

Size: 1.05 KB

Versions: 34

Compression:

Stored size: 1.05 KB

Contents

= simple_form_for filter_form,
                  as: :filter,
                  url: filter_form.url,
                  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"), filter_form.url

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
renalware-core-2.0.101 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.100 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.99 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.98 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.97 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.96 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.95 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.94 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.93 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.92 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.91 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.90 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.89 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.88 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.87 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.86 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.85 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.84 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.83 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.82 app/views/renalware/hd/mdm_patients/_filters.html.slim