Fix sign-in/sign-out top bar UI
This commit is contained in:
parent
e73a6b3fc9
commit
ed00e69a13
@ -18,7 +18,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="ms-auto p-2">
|
<div class="ms-auto p-2">
|
||||||
<% if user_signed_in? %>
|
<% if user_signed_in? %>
|
||||||
<p>Welcome <%= current_user.username %></p>
|
<p style="display: inline;">Welcome <%= current_user.username %></p>
|
||||||
|
<pre style="display: inline;">|</pre>
|
||||||
<%= link_to "Sign Out", destroy_user_session_path, data: { turbo_method: :delete } %>
|
<%= link_to "Sign Out", destroy_user_session_path, data: { turbo_method: :delete } %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= link_to "Sign In", new_user_session_path %>
|
<%= link_to "Sign In", new_user_session_path %>
|
||||||
|
Loading…
Reference in New Issue
Block a user