X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/06b2d278ea6c273c7e4e01c6f28bb46505efd6d1..843d601b0a4df3e0cb81fdedc8e7f7e55379e0e0:/app/views/site/_search.html.erb diff --git a/app/views/site/_search.html.erb b/app/views/site/_search.html.erb index 12b8bccc5..6e291bfd0 100644 --- a/app/views/site/_search.html.erb +++ b/app/views/site/_search.html.erb @@ -22,12 +22,13 @@ <% content_for "optionals" do %>
<%= t 'site.search.search' %> - <%= t 'site.search.where_am_i' %> + <%= t 'site.search.where_am_i' %>
<% form_remote_tag(:loading => "startSearch()", :complete => "endSearch()", - :url => { :controller => :geocoder, :action => :search }) do %> + :url => { :controller => :geocoder, :action => :search }, + :html => { :method => "get", :action => url_for(:action => "index") }) do %> <%= text_field_tag :query, h(params[:query]) %> <%= submit_tag t('site.search.submit_text') %> <% end %>