The correct HTML attribute to send a DELETE request would be `data-turbo-method`, but then it still fails with JS turned off, which is unnecessary. fixes #61
7 lines
250 B
Plaintext
7 lines
250 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, class: 'underline' %>
|
|
</p>
|
|
<% end %>
|