X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bfdce9c9332d1bf60dbd4f8cba95e593fd997dbf..0509fc8d12fd763e98bc0c8e3a0d2b0ee6a11f9a:/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 d6c1e38fa..9adc3dafe 100644 --- a/app/views/site/_search.html.erb +++ b/app/views/site/_search.html.erb @@ -1,51 +1,59 @@ -<% content_for "optionals" do %> +<% content_for :optionals do %>
- <%= t 'site.search.search' %> - <%= t 'site.search.where_am_i' %> -
+
- <% form_remote_tag(:loading => "startSearch()", - :complete => "endSearch()", - :url => { :controller => :geocoder, :action => :search }) do %> - <%= text_field_tag :query, h(params[:query]) %> + <%= form_tag "#", :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 %>
-

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

-

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

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

<% end %>