From: Matt Amos Date: Mon, 26 Jan 2015 18:02:00 +0000 (+0000) Subject: Use CSS rather than HTML attributes for styling. X-Git-Tag: live~4269^2~8^2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/7a44ae6cdc97df0e097f7d0bebaf1bc4339dce60?hp=-c Use CSS rather than HTML attributes for styling. --- 7a44ae6cdc97df0e097f7d0bebaf1bc4339dce60 diff --git a/app/views/layouts/_search.html.erb b/app/views/layouts/_search.html.erb index 441ea3212..02d6406cf 100644 --- a/app/views/layouts/_search.html.erb +++ b/app/views/layouts/_search.html.erb @@ -9,7 +9,7 @@
-
<%= link_to tag('span', { :class => "icon close"}), root_path, { :title => t('site.search.close_directions_title'), :class => "directions_close" } %>
+
<%= link_to tag('span', { :class => "icon close"}), root_path, { :title => t('site.search.close_directions_title'), :class => "directions_close" } %>
<%= image_tag "marker-green.png", :class => 'routing_marker', :id => 'marker_from', :draggable => 'true' %> @@ -20,7 +20,7 @@ <%= text_field_tag "route_to" , params[:to] , :placeholder => t('site.search.to') %>
-
<%= submit_tag t('site.search.submit_text') %>
+
<%= submit_tag t('site.search.submit_text') %>