19 lines
736 B
Text
19 lines
736 B
Text
- if FranceConnectService.enabled?
|
|
.france-connect-login
|
|
%h2.fr-h6.mb-0
|
|
= 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/", target: "_blank", rel: "noopener", class: "fr-underlined"
|
|
|
|
.france-connect-login-separator
|
|
= t('views.shared.france_connect_login.separator')
|
|
- else
|
|
<!-- FranceConnect is not configured -->
|