X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/034982a12fa025af8c1d381cd09483c97fb29dbe..0e5e08a96e62a7bc058ac1cf87f5808f06988bb4:/app/views/site/_search.rhtml diff --git a/app/views/site/_search.rhtml b/app/views/site/_search.rhtml index aa9294236..6ddcc851c 100644 --- a/app/views/site/_search.rhtml +++ b/app/views/site/_search.rhtml @@ -1,17 +1,8 @@ -
- - - - - -
Search ResultsClose
-
-
-
- @@ -42,20 +32,22 @@ <% content_for "optionals" do %>
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 "Go" %> <% end %> - +

Searching...

examples: 'Alkmaar', 'Regent Street, Cambridge', 'CB2 5AQ', or 'post offices near Lünen' - more examples... + more examples...

<% end %>