Sha256: b32ac64ccd62ec4b1fe9a82ecac190995d542cc63d0426c38e9c48f24074e172

Contents?: true

Size: 884 Bytes

Versions: 2

Compression:

Stored size: 884 Bytes

Contents

.search-form.filters
  = simple_form_for query,
      as: :q,
      url: admissions_consults_path,
      method: :get do |f|
    .row
      .columns.medium-4.large-3
        = f.input :hospital_unit_id_eq,
                  collection: Renalware::Hospitals::Unit.pluck(:name, :id),
                  label: "Site"
      .columns.medium-3.large-2
        = f.input :requires_aki_nurse_eq,
                  collection: [["Yes", true], ["No", false]],
                  label: "AKI Nurse required"
      .columns.medium-2.large-1
        = f.input :seen_by_id_eq,
                  include_blank: false,
                  collection: [["Anyone", nil], ["Me", current_user.id]],
                  label: "Seen by"
      .columns.medium-2.large-2.actions.end
        = f.submit "Filter", class: "button"
        span= " or "
        = link_to t("helpers.reset"), admissions_consults_path

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc1 app/views/renalware/admissions/consults/_filters.html.slim
renalware-core-2.0.0.pre.beta12 app/views/renalware/admissions/consults/_filters.html.slim