2015-10-10 07:45:30 +02:00
|
|
|
= form_for @search_definition, url: search_path, method: :get do |f|
|
|
|
|
= f.text_field :query, placeholder: 'Suche…', autofocus: true
|
2015-10-05 22:13:53 +02:00
|
|
|
fieldset
|
|
|
|
legend Ergebnisse filtern
|
|
|
|
.row
|
|
|
|
.small-4.columns
|
2015-10-10 07:45:30 +02:00
|
|
|
= filter_select(f, "paper_type", "Typ", @paper_type_facets, @search_definition.paper_type)
|
2015-10-05 22:13:53 +02:00
|
|
|
.small-4.columns
|
2015-10-10 07:45:30 +02:00
|
|
|
= filter_select(f, "originator", "Einreicher", @originator_facets, @search_definition.originator)
|
2015-10-05 22:13:53 +02:00
|
|
|
.small-4.columns.end
|
|
|
|
label Sortierung
|
2015-10-10 07:45:30 +02:00
|
|
|
= f.radio_button :sort_by, :date, onchange: "this.form.submit();"
|
2015-10-05 22:13:53 +02:00
|
|
|
label for="sort_by_date" Nach Datum
|
2015-10-10 07:45:30 +02:00
|
|
|
= f.radio_button :sort_by, :score, onchange: "this.form.submit();"
|
2015-10-05 22:13:53 +02:00
|
|
|
label for="sort_by_score" Nach Relevanz
|