Rewrite label

This commit is contained in:
Ashwin M
2025-12-06 16:09:13 +05:30
parent 80585a9585
commit 74346342df

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: "UnBan #{@user.name}" } %>
<%= image_tag "cancel.svg", aria: { hidden: "true", label: "Remove Ban #{@user.name}" } %>
<span>Remove ban</span>
<% end %>
<% end %>