engine/app/cells/admin/site_locale_picker/show.html.haml

12 lines
252 B
Plaintext

#site-locale-picker
%span.hand
 
%ul
- @locales.each_with_index do |locale, index|
%li{ :class => "#{'first' if index == 0}" }
= image_tag "admin/icons/flags/#{locale}.png", :class => 'flag'
%span.text= locale