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