engine/app/cells/locomotive/content_locale_picker/show.html.haml

7 lines
203 B
Plaintext

#content-locale-picker
%ul
- @locales.each do |locale|
%li{ :'data-locale' => locale }
= image_tag "locomotive/icons/flags/#{locale}.png", :class => 'flag'
%span.text= locale