X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cfbdd3f7e1c688e2c875ded9fd847fcc1c3a4caf..0d16fd57d46a4aaa1c170d79772e549bfadf288a:/app/views/site/_search.rhtml diff --git a/app/views/site/_search.rhtml b/app/views/site/_search.rhtml index 84f44f0f4..b57a1f984 100644 --- a/app/views/site/_search.rhtml +++ b/app/views/site/_search.rhtml @@ -1,18 +1,8 @@ -
- - - - - -
Search ResultsClose
-
-
-
- <% content_for "optionals" do %>
- Search - Where am I? + <%= 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, params[:query] %> + <%= text_field_tag :query, h(params[:query]) %> + <%= submit_tag t('site.search.submit_text') %> <% end %> - -

Searching...

+
+

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

- examples: 'Alkmaar', 'Regent Street, Cambridge', 'CB2 5AQ', - or 'post offices near Lünen' - more examples... + <%= t 'site.search.search_help' %>

<% end %>