From 80585a95852d5469b0240a39a63bca5fb39e5cbe Mon Sep 17 00:00:00 2001 From: Ashwin M Date: Wed, 3 Dec 2025 17:50:16 +0530 Subject: [PATCH 1/2] Fix button label to 'UnBan' for clarity --- app/views/users/_ban_button.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/users/_ban_button.html.erb b/app/views/users/_ban_button.html.erb index 3cfab48..b918a74 100644 --- a/app/views/users/_ban_button.html.erb +++ b/app/views/users/_ban_button.html.erb @@ -9,7 +9,7 @@ <%= button_to user_ban_path(user), method: :delete, class: "btn btn--negative full-width", data: { turbo_confirm: "Are you sure you want to remove the ban on this user?" } do %> - <%= image_tag "cancel.svg", aria: { hidden: "true", label: "Ban #{@user.name}" } %> + <%= image_tag "cancel.svg", aria: { hidden: "true", label: "UnBan #{@user.name}" } %> Remove ban <% end %> <% end %> From 74346342df84b30e9121073d8a56449f6412798a Mon Sep 17 00:00:00 2001 From: Ashwin M Date: Sat, 6 Dec 2025 16:09:13 +0530 Subject: [PATCH 2/2] Rewrite label --- app/views/users/_ban_button.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/users/_ban_button.html.erb b/app/views/users/_ban_button.html.erb index b918a74..483e383 100644 --- a/app/views/users/_ban_button.html.erb +++ b/app/views/users/_ban_button.html.erb @@ -9,7 +9,7 @@ <%= button_to user_ban_path(user), method: :delete, class: "btn btn--negative full-width", data: { turbo_confirm: "Are you sure you want to remove the ban on this user?" } do %> - <%= image_tag "cancel.svg", aria: { hidden: "true", label: "UnBan #{@user.name}" } %> + <%= image_tag "cancel.svg", aria: { hidden: "true", label: "Remove Ban #{@user.name}" } %> Remove ban <% end %> <% end %>