Keep 'show' parameter when using text search

So that "any", "with" or "without" is kept when a new search term is
intered.
This commit is contained in:
Christoph Haas 2016-08-16 18:41:06 +02:00
parent ade7345a6d
commit 1a49fc2777

View file

@ -1,2 +1,3 @@
= form_tag url_for, :method=>'GET'
= text_field_tag(:search, params[:search], placeholder: "Search...", maxlength: 50, size: 20, autofocus: true)
= hidden_field_tag :show, params[:show]