- if can? :manage, Locomotive::ContentType .action = link_to content_tag(:em) + content_tag(:span, t('locomotive.content_types.index.new')), new_content_type_url, :class => 'button' - if current_site.locales.size > 1 .action = render 'locomotive/shared/locale_picker_link' / = link_to '#', :id => 'content-locale-picker-link', :class => 'button' do / %span.hand /   / / = image_tag "locomotive/icons/flags/#{current_content_locale}.png", :class => 'flag' / / %span.text= current_content_locale