mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-23 08:03:14 +01:00
15 lines
729 B
Text
15 lines
729 B
Text
= form_for @search_definition, url: search_path, method: :get do |f|
|
|
= f.text_field :query, placeholder: 'Suche…', autofocus: true
|
|
fieldset
|
|
legend Ergebnisse filtern
|
|
.row
|
|
.small-4.columns
|
|
= filter_select(f, "paper_type", "Typ", @paper_type_facets, @search_definition.paper_type)
|
|
.small-4.columns
|
|
= filter_select(f, "originator", "Einreicher", @originator_facets, @search_definition.originator)
|
|
.small-4.columns.end
|
|
label Sortierung
|
|
= f.radio_button :sort_by, :date, onchange: "this.form.submit();"
|
|
label for="sort_by_date" Nach Datum
|
|
= f.radio_button :sort_by, :score, onchange: "this.form.submit();"
|
|
label for="sort_by_score" Nach Relevanz
|