stadtratmonitor/app/views/search/_form.slim
2015-07-18 12:43:43 +02:00

13 lines
629 B
Text

= form_tag(search_path, method: :get)
= text_field_tag(:q, params[:q], placeholder: 'Suche…', autofocus: true)
- if false #@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();"