Sha256: c3522ad9c388fb98587de4274709db3d52ba1f586a9ad70d1bbb6432d2ae968b

Contents?: true

Size: 1.42 KB

Versions: 6

Compression:

Stored size: 1.42 KB

Contents

.row.filters
  .filters__form
    = simple_form_for query,
        as: :q,
        url: hd_unmet_preferences_path,
        method: :get do |f|

        .small-12.medium-3.large-3.columns
          = f.label :hd_profile_hospital_unit_id_eq, "Patients dialysing at"
          = f.grouped_collection_select :hd_profile_hospital_unit_id_eq,
                                        Renalware::Hospitals::Centre.with_hd_sites.ordered,
                                        :hd_sites, :to_s, :id, :to_s,
                                        include_blank: "Any unit"

        .small-12.medium-3.large-3.columns
          = f.label :hd_preference_set_hospital_unit_id_eq, "but preferring unit"
          = f.grouped_collection_select :hd_preference_set_hospital_unit_id_eq,
                                        Renalware::Hospitals::Centre.with_hd_sites.ordered,
                                        :hd_sites, :to_s, :id, :to_s,
                                        include_blank: "Any unit"

        .small-12.medium-3.large-3.columns
          = f.input :hd_preference_set_schedule_eq,
                    collection: Renalware::HD::Profile.schedule.options,
                    include_blank: "Any schedule",
                    label: "or preferring schedule"

        .medium-3.large-3.columns.actions.end
          = f.submit "Filter", class: "button"
          span= " or "
          = link_to t("helpers.reset"), hd_unmet_preferences_path

Version data entries

6 entries across 6 versions & 1 rubygems

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