Skip to content

Commit

Permalink
Fix selected class for locale picker
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Cambra committed Aug 30, 2012
1 parent ee52cdd commit 77a79c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<% if (locales ||= (Refinery::I18n.frontend_locales if Refinery.i18n_enabled?)).present? && 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 => "32x22"),
refinery.url_for(:switch_locale => locale) %>
</li>
Expand Down

0 comments on commit 77a79c9

Please sign in to comment.