2016-12-05 14:06:38 +01:00
|
|
|
- if current_user.loged_in_with_france_connect?
|
2017-04-26 14:55:14 +02:00
|
|
|
#fconnect-profile{ "data-fc-logout-url" => '/users/sign_out" data-method="delete' }
|
2016-12-01 13:01:00 +01:00
|
|
|
%a.text-info{ href: "#" }
|
|
|
|
= "#{current_user.given_name} #{current_user.family_name}"
|
2017-12-11 11:51:18 +01:00
|
|
|
= link_to "/users/sign_out", method: :delete do
|
|
|
|
%span.fa.fa-sign-out
|
|
|
|
Se déconnecter
|
2016-08-22 16:36:25 +02:00
|
|
|
|
2016-12-05 14:06:38 +01:00
|
|
|
- else
|
2017-12-11 11:51:18 +01:00
|
|
|
= link_to "/users/sign_out", method: :delete do
|
|
|
|
%span.fa.fa-sign-out
|
|
|
|
Se déconnecter
|