#1938 remove duplicates, remember &random and &raw params

This commit is contained in:
Toks
2015-05-18 14:10:44 -04:00
parent 0d24a45855
commit a5feec8ec6
2 changed files with 11 additions and 1 deletions

View File

@@ -7,6 +7,12 @@
<h1>Search</h1>
<%= form_tag(path, :method => "get") do %>
<%= text_field_tag("tags", tags, :size => 20) %>
<% if params[:raw] %>
<%= hidden_field_tag :raw, params[:raw] %>
<% end %>
<% if params[:random] %>
<%= hidden_field_tag :random, params[:random] %>
<% end %>
<%= submit_tag "Go", :name => nil %>
<% end %>
</section>