Skip to content

Commit

Permalink
Merge pull request #2044 from MushroomObserver/2042-post-logout
Browse files Browse the repository at this point in the history
Fix logout button - use nested span
  • Loading branch information
nimmolo committed Mar 19, 2024
2 parents c111b95 + 03ce7f9 commit ada80ef
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app/views/controllers/application/top_nav/_user_nav.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,16 @@
<li><%= button_to(
:app_logout.t,
account_logout_path,
{ class: "btn btn-link li_button", id: "user_drop_logout_link" }
{ class: "btn btn-link", id: "user_drop_logout_link" }
) %><li>
</ul>
</li>
<li><%= button_to(
"",
account_logout_path,
{ class: "btn btn-glyphicon-only glyphicon glyphicon-log-out",
{ class: "btn btn-link navbar-btn",
id: "user_nav_logout_link",
title: :app_logout.t }
) %></li>
) do
tag.span("", class: "glyphicon glyphicon-log-out")
end %></li>
</ul>

0 comments on commit ada80ef

Please sign in to comment.