X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/22594361d5abd2a6ee18e290058d9d39d7d761ec..701325e9ef6720a16646c7218010e33b5c58d544:/app/views/site/_search.html.erb?ds=inline diff --git a/app/views/site/_search.html.erb b/app/views/site/_search.html.erb index 2c914d14c..f82f19d84 100644 --- a/app/views/site/_search.html.erb +++ b/app/views/site/_search.html.erb @@ -1,81 +1,53 @@ -<% 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 %>