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.81 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.80 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.79 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.78 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.77 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.76 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.75 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.74 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.73 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.72 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.71 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.70 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.69 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.68 app/views/renalware/hd/mdm_patients/_filters.html.slim