<h2>
  <%= _("Search over<br/>
  <strong>{{number_of_requests}} requests</strong> <span>and</span><br/>
  <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 %>
  <div>
    <%= text_field_tag 'query', params[:query], { :size => 30 } %>
    <%= submit_tag _('Search') %>
  </div>
<% end %>

<h2>
  <%= _("Search over<br/>
  <strong>{{number_of_requests}} requests</strong> <span>and</span><br/>
  <strong>{{number_of_authorities}} authorities</strong>",
  :number_of_requests => InfoRequest.visible.count, :number_of_authorities => PublicBody.visible.count) %>
</h2>
<form id="navigation_search_form" method="post" action="/search">
  <div>
    <input id="query" type="text" size="30" name="query">
    <input type="submit" value="<%= _('Search') %>">
  </div>
</form>

Use simple form for frontpage search - we don't need parameter insertion as the form is not submitted to this page, we don't need csrf protection and we don't want the extra parameters as we convert this to a get request.
Use simple form for frontpage search - we don't need parameter insertion as the form is not submitted to this page, we don't need csrf protection and we don't want the extra parameters as we convert this to a get request.
