X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/397db07d65eec20de92f8c5220a4d41fc7d7ae7b..4016d8e2232e0fa2c26183cfe394c65eb2f13655:/app/views/site/_search.rhtml?ds=sidebyside diff --git a/app/views/site/_search.rhtml b/app/views/site/_search.rhtml index 2b2fc6e31..a9a3385c3 100644 --- a/app/views/site/_search.rhtml +++ b/app/views/site/_search.rhtml @@ -1,28 +1,3 @@ -<% content_for "optionals" do %> -
- Search - <% form_remote_tag(:update => :search_results_content, - :loading => "openSearchResults()", - :url => { :controller => :geocoder, :action => :search } ) do %> - <%= text_field_tag :query, nil, :size => 16 %> - <% end %> -
- -<% end %> -
@@ -33,3 +8,40 @@
+ + + +<% content_for "optionals" do %> +
+ Search + <% form_remote_tag(:update => :search_results_content, + :loading => "openSearchResults()", + :url => { :controller => :geocoder, :action => :search }) do %> + <%= text_field_tag :query, params[:query] %> + <% end %> +

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

+
+<% end %>