Skip to content

Commit

Permalink
Update _user_nav.html.erb
Browse files Browse the repository at this point in the history
logout button - use nested span
  • Loading branch information
nimmolo committed Mar 19, 2024
1 parent 01eff61 commit 03ce7f9
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 03ce7f9

Please sign in to comment.