Sha256: c4527b91abe941a44e5d456e3270a2d65b6411c81e4851208e3d395417eba6b7

Contents?: true

Size: 806 Bytes

Versions: 94

Compression:

Stored size: 806 Bytes

Contents

.search-form.filters
  = simple_form_for form,
      as: :query,
      url: admissions_admissions_path,
      method: :get do |f|

    .row
      .columns.medium-2.large-3
        = f.input :term

      .columns.medium-3.large-2
        = f.input :hospital_unit_id,
                  collection: Renalware::Hospitals::Unit.pluck(:name, :id)
      .columns.medium-2.large-2
        = ward_dropdown_grouped_by_hospital_unit(f, :hospital_ward_id, label: "Ward", wrapper: nil)
      .columns.medium-3.large-3
        = f.input :status,
                  collection: form.status_dropdown_options,
                  include_blank: "Any"
      .columns.medium-2.large-2.actions.end
        = f.submit "Filter", class: "button"
        span= " or "
        = link_to t("helpers.reset"), admissions_admissions_path

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
renalware-core-2.0.62 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.61 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.60 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.58 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.57 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.56 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.55 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.54 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.53 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.52 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.51 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.50 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.48 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.47 app/views/renalware/admissions/admissions/_filters.html.slim