X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7b37f4cb62fca5fec3d3d41eacf4601595519c4a..3b43e4d53a736680bb41a14401244f3445d0c274:/app/views/site/_search.html.erb?ds=sidebyside diff --git a/app/views/site/_search.html.erb b/app/views/site/_search.html.erb index b1e5f4487..f82f19d84 100644 --- a/app/views/site/_search.html.erb +++ b/app/views/site/_search.html.erb @@ -1,88 +1,60 @@ -<% content_for "optionals" do %> +<% content_for :optionals do %>
<%= t 'site.search.where_am_i' %>

<%= t 'site.search.search' %>

- <%= form_tag({ :controller => :geocoder, :action => :search }, - { :id => "search_form", :remote => true, :method => "get", :action => url_for(:action => "index") }) do %> + <%= form_tag "#", :id => "search_form" do %> <%= text_field_tag :query, h(params[:query]), :tabindex => "1" %> <%= submit_tag t('site.search.submit_text') %> <% end %>

- <%= t 'site.search.search_help' %> + <%= raw(t 'site.search.search_help') %>

<% end %>