]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_search.html.erb
Simplify close icon for routing panel and fix validation error
[rails.git] / app / views / layouts / _search.html.erb
index 065190bd5740d8e1d98688581ce859c3b20cb798..5a40e02df5a113a0bd7ae3f755b6601fa7c9558c 100644 (file)
@@ -9,7 +9,7 @@
   </form>
 
   <form method="GET" action="<%= directions_path %>" class="directions_form">
-    <div style="width:100%; text-align:right; height:30px;"><%= link_to tag('span', { :class => "icon close"}), root_path, { :title => t('site.search.close_directions_title'), :class => "directions_close" } %></div>
+    <div style="width:100%; text-align:right; height:30px;"><span class="icon close"></span></div>
 
     <div class="line">
       <%= image_tag "marker-green.png", :class => "routing_marker", :id => "marker_from", :draggable => "true" %>