Re-displaying search query from previous search in text field
This commit is contained in:
parent
362745037a
commit
928a39dcea
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
<h1>Search for a package/description:</h1>
|
||||
|
||||
<%= form_tag(url_for, method: "get") do %>
|
||||
<%= text_field_tag :search, '', autofocus: true, placeholder: 'What are you looking for...' %>
|
||||
<%= text_field_tag :search, params[:search], autofocus: true, placeholder: 'What are you looking for...' %>
|
||||
|
|
||||
With screenshots? <%= check_box_tag 'with_screenshots', 'yes', true %>
|
||||
|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue