Re-displaying search query from previous search in text field

This commit is contained in:
Christoph Haas 2013-08-08 20:29:55 +02:00
parent 362745037a
commit 928a39dcea

View file

@ -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 %>
|