mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 07:11:33 +02:00
adds filters and breaks pagination
This commit is contained in:
parent
ff58856c99
commit
be19256457
2 changed files with 39 additions and 5 deletions
|
@ -1,2 +1,13 @@
|
|||
= form_tag(search_path, method: :get)
|
||||
= text_field_tag(:q, params[:q], placeholder: 'Suche…', autofocus: true)
|
||||
- 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();"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue