2020-08-01 10:33:38 +02:00
|
|
|
- if FranceConnectService.enabled?
|
|
|
|
.france-connect-login
|
2022-08-22 17:55:39 +02:00
|
|
|
%h2.fr-h6.mb-0
|
2020-08-01 10:33:38 +02:00
|
|
|
= t('views.shared.france_connect_login.title')
|
|
|
|
%p
|
|
|
|
= t('views.shared.france_connect_login.description')
|
2022-09-20 17:33:52 +02:00
|
|
|
|
|
|
|
.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
|
2022-10-06 13:02:25 +02:00
|
|
|
= link_to t('views.shared.france_connect_login.help_link'), "https://franceconnect.gouv.fr/", target: "_blank", rel: "noopener"
|
2022-09-20 17:33:52 +02:00
|
|
|
|
2020-08-01 10:33:38 +02:00
|
|
|
.france-connect-login-separator
|
|
|
|
= t('views.shared.france_connect_login.separator')
|
|
|
|
- else
|
|
|
|
<!-- FranceConnect is not configured -->
|