From e87153679e3f958d1a63482b893896e1fedd5586 Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Fri, 12 Jan 2024 15:24:35 +0100 Subject: [PATCH] Add title/tooltip to delete user button Will render as tooltip in Alchemy 7.1 and title in Alchemy 7.0 --- app/views/alchemy/admin/users/_user.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/alchemy/admin/users/_user.html.erb b/app/views/alchemy/admin/users/_user.html.erb index 3020208..4ed75e0 100644 --- a/app/views/alchemy/admin/users/_user.html.erb +++ b/app/views/alchemy/admin/users/_user.html.erb @@ -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),