Merge pull request #124 from ashwin47/ban_typo

Fix button label to 'UnBan' for clarity
This commit is contained in:
Stanko Krtalić
2025-12-06 11:42:50 +01:00
committed by GitHub

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: "Remove Ban #{@user.name}" } %>
<span>Remove ban</span>
<% end %>
<% end %>