demarches-normaliennes/app/views/layouts/_locale_dropdown.html.haml
2024-06-18 14:24:54 +02:00

13 lines
460 B
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.fr-translate.fr-nav
.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