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.84 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.83 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.82 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.81 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.80 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.79 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.78 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.77 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.76 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.75 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.74 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.73 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.72 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.71 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.70 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.69 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.68 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.67 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.64 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.63 app/views/renalware/admissions/admissions/_filters.html.slim