2020-08-01 10:33:38 +02:00
|
|
|
- if FranceConnectService.enabled?
|
|
|
|
.france-connect-login
|
2022-12-20 17:51:36 +01:00
|
|
|
%h2.fr-h6
|
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-11-29 15:57:02 +01:00
|
|
|
= 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
|
2022-09-20 17:33:52 +02:00
|
|
|
|
2022-12-20 17:51:36 +01:00
|
|
|
%p.fr-hr-or= t('views.shared.france_connect_login.separator')
|
2020-08-01 10:33:38 +02:00
|
|
|
- else
|
|
|
|
<!-- FranceConnect is not configured -->
|