Commit 401d3ecb authored by Pedro Pablo Guijarro's avatar Pedro Pablo Guijarro Committed by Uģis Ozols
Browse files

fixed selected background on images

parent 7234da0a
......@@ -2,7 +2,7 @@
<% if (locales ||= ::Refinery::I18n.frontend_locales).present? and locales.many? %>
<ul id='switch_locale_picker' class='clearfix'>
<% locales.each do |locale| %>
<li<%= " class='selected'" if locale.to_s == local_assigns[:current_locale].to_s %>>
<li<%= " class='selected'".html_safe if locale.to_s == local_assigns[:current_locale].to_s %>>
<%= link_to refinery_icon_tag("flags/#{locale}.png", :size => '48x33'),
refinery.url_for(:switch_locale => locale) %>
</li>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment