demarches-normaliennes/app/views/shared/_france_connect_login.html.haml
Martin a4d6692bc6 accessibilite(pages-authentification): evolutions des pages de connexion/creation de compte pour respecter le DSFR et supporter une meilleure accessibilite
Update app/components/dsfr/input_component/input_component.html.haml

Co-authored-by: Colin Darie <colin@darie.eu>
2023-01-03 16:26:05 +01:00

18 lines
746 B
Text

- if FranceConnectService.enabled?
.france-connect-login
%h2.fr-h6
= t('views.shared.france_connect_login.title')
%p
= t('views.shared.france_connect_login.description')
.fr-connect-group.fr-my-2w
= link_to(url, class: "fr-btn fr-connect") do
%span.fr-connect__login
= t('views.shared.france_connect_login.login_button')
%span.fr-connect__brand FranceConnect
%p
= link_to t('views.shared.france_connect_login.help_link'), "https://franceconnect.gouv.fr/", title: new_tab_suffix(t('views.shared.france_connect_login.help_link')), **external_link_attributes
%p.fr-hr-or= t('views.shared.france_connect_login.separator')
- else
<!-- FranceConnect is not configured -->