X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3eaf58c151ca9c790dcf6d0937dc186c5c790422..23ffdadb565be5ccc4ae9fad9647bdf0fa9b8683:/app/views/layouts/_search.html.erb diff --git a/app/views/layouts/_search.html.erb b/app/views/layouts/_search.html.erb index e9aa76f5a..9ac3eae33 100644 --- a/app/views/layouts/_search.html.erb +++ b/app/views/layouts/_search.html.erb @@ -1,9 +1,11 @@ -<%= form_tag search_path, :class => "search_form" do %> +
+ +
<%= link_to t('site.search.close_directions'), '#', { :class => "close_directions", :title => t('site.search.close_directions_title') } %>
@@ -20,6 +22,7 @@ <%= image_tag "marker-red.png" , :class => 'routing_marker', :id => 'marker_to' , :draggable => 'true' %> <%= text_field_tag "route_to" , params[:to] , :placeholder => t('site.search.to') , :onchange=>"OSM.routing.geocode('route_to' ,event)" %> + <%= image_tag "searching-small.gif", :class => 'spinner', :style => "vertical-align: middle; display: none;" %> -<% end %> +