demarches-normaliennes/app/views/layouts/_locale_dropdown.html.haml

14 lines
517 B
Text
Raw Normal View History

%nav.fr-translate.fr-nav{ :role => "navigation", title: t('.select_locale') }
.fr-nav__item
%button.fr-translate__btn.fr-btn{ "aria-controls" => "translate", "aria-expanded" => "false", :title => t('.select_locale') }
= I18n.locale.upcase
%span.fr-hidden-lg= " - #{t('.locale_name')}"
#translate.fr-collapse.fr-menu
%ul.fr-menu__list
%li
= active_locale_link(:fr) do
FR - Français
%li
= active_locale_link(:en) do
EN - English