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.147 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.146 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.145 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.144 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.143 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.142 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.141 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.140 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.139 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.138 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.137 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.136 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.135 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.134 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.133 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.132 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.131 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.130 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.129 app/views/renalware/admissions/admissions/_filters.html.slim
renalware-core-2.0.128 app/views/renalware/admissions/admissions/_filters.html.slim