Fix button label to 'UnBan' for clarity

This commit is contained in:
Ashwin M
2025-12-03 17:50:16 +05:30
parent b3d97ecb0e
commit 80585a9585
+1 -1
View File
@@ -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}" } %>
<span>Remove ban</span>
<% end %>
<% end %>