akkounts/app/views/shared/_header_account.html.erb

7 lines
267 B
Plaintext

<% if user_signed_in? %>
<p class="current-user mt-8">
Signed in as <strong class="text-white font-normal"><%= current_user.cn %>@kosmos.org</strong>.
<%= link_to "Log out", destroy_user_session_path, method: :delete, class: 'underline' %>
</p>
<% end %>