]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_search.html.erb
Make close button on route dialogue return to index.
[rails.git] / app / views / layouts / _search.html.erb
index c9ae72477e4ce1f50733ff01f7de09018468007c..5b6806e3d8d9fa47dbd3aece8d324b863a822516 100644 (file)
@@ -9,7 +9,7 @@
   </form>
 
   <form method="GET" action="<%= directions_path %>" class="directions_form">
-    <div width="100%" align="right"><%= link_to image_tag('search.png', :class => 'button'), root_path, { :class => "button", :title => t('site.search.close_directions_title') } %></div>
+    <div width="100%" align="right" style="height:30px"><%= link_to tag('span', { :class => "icon close"}), root_path, { :title => t('site.search.close_directions_title'), :class => "directions_close" } %></div>
 
     <div class="line">
       <%= image_tag "marker-green.png", :class => 'routing_marker', :id => 'marker_from', :draggable => 'true' %>