Skip to content

Commit

Permalink
Add title/tooltip to delete user button
Browse files Browse the repository at this point in the history
Will render as tooltip in Alchemy 7.1 and title in Alchemy 7.0
  • Loading branch information
tvdeyen committed Jan 12, 2024
1 parent b5a30a9 commit e871536
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/alchemy/admin/users/_user.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
message: Alchemy.t(:confirm_to_delete_user),
title: Alchemy.t(:delete_user),
icon: :minus
} %>
},
title: Alchemy.t(:delete_user) %>
<% end %>
<% if can?(:edit, user) %>
<%= link_to_dialog render_icon(:edit),
Expand Down

0 comments on commit e871536

Please sign in to comment.