aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/general/_frontpage_search_box.rhtml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/general/_frontpage_search_box.rhtml b/app/views/general/_frontpage_search_box.rhtml
index 14ba2c8be..6e45364d2 100644
--- a/app/views/general/_frontpage_search_box.rhtml
+++ b/app/views/general/_frontpage_search_box.rhtml
@@ -4,9 +4,9 @@
<strong>{{number_of_authorities}} authorities</strong>",
:number_of_requests => InfoRequest.visible.count, :number_of_authorities => PublicBody.visible.count) %>
</h2>
-<% form_tag({:action => "search_redirect"}, {:id => "search_form"}) do %>
+<form id="navigation_search_form" method="post" action="/search">
<div>
- <%= text_field_tag 'query', params[:query], { :size => 30 } %>
- <%= submit_tag _('Search') %>
+ <input id="query" type="text" size="30" name="query">
+ <input type="submit" value="<%= _('Search') %>">
</div>
-<% end %>
+</form>