Sha256: c1bf136978e843cc2c54a64b113ba07f6d1514d81ce710f66f8ba9053ab5e31f

Contents?: true

Size: 906 Bytes

Versions: 11

Compression:

Stored size: 906 Bytes

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-4.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-4.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.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

11 entries across 11 versions & 1 rubygems

Version Path
renalware-core-2.0.51 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.50 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.48 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.47 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.46 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.45 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.44 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.43 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.42 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.41 app/views/renalware/hd/mdm_patients/_filters.html.slim
renalware-core-2.0.40 app/views/renalware/hd/mdm_patients/_filters.html.slim