2015-04-27 22:35:11 +02:00
|
|
|
= form_tag(search_path, method: :get)
|
|
|
|
= text_field_tag(:q, params[:q], placeholder: 'Suche…', autofocus: true)
|
2015-05-18 22:14:46 +02:00
|
|
|
- if @show_filters
|
|
|
|
fieldset
|
|
|
|
legend Ergebnisse filtern
|
|
|
|
.row
|
|
|
|
.small-4.columns
|
|
|
|
= label "paper_type", "Typ"
|
|
|
|
= select_tag "paper_type", options_for_select(@paper_types_found, @paper_type), include_blank: true, :onchange => "this.form.submit();"
|
|
|
|
.small-4.columns.end
|
|
|
|
= label "originator", "Einreicher"
|
|
|
|
= select_tag "originator", options_for_select(@originators_found, @originator), include_blank: true, :onchange => "this.form.submit();"
|
|
|
|
|