X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7901815718df724958198a9f471902ab63263932..d57755b737cbb38a590b0e017a4b5c6c661aea62:/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 dcb7301d9..bcab7e404 100644 --- a/app/views/site/_search.html.erb +++ b/app/views/site/_search.html.erb @@ -1,88 +1,31 @@ <% 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 %> - <%= text_field_tag :query, h(params[:query]), :tabindex => "1" %> + <%= form_tag url_for(:controller => :geocoder, :action => :search), :id => "search_form" do %> <%= submit_tag t('site.search.submit_text') %> + <%= text_field_tag :query, h(params[:query]), :tabindex => "1", :placeholder => t('site.search.search') %> <% end %>
-

+

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

<% end %>