From 9a8a8ce5ce7e8519653868bc52f4eaaaf9a65a90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Wed, 1 Dec 2021 19:29:28 +0100 Subject: [PATCH] Fix missing closing tag for blocked users It was working because browsers automatically assume one element ends when finding a tag without a . --- app/views/moderation/users/index.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/moderation/users/index.html.erb b/app/views/moderation/users/index.html.erb index 9008f8fec..c8b13b6e4 100644 --- a/app/views/moderation/users/index.html.erb +++ b/app/views/moderation/users/index.html.erb @@ -17,10 +17,10 @@ <% if user.hidden? %> <%= t("moderation.users.index.hidden") %> <% else %> - <%= link_to t("moderation.users.index.hide"), hide_in_moderation_screen_moderation_user_path(user, request.query_parameters), - method: :put, class: "button hollow alert" %> + <%= link_to t("moderation.users.index.hide"), hide_in_moderation_screen_moderation_user_path(user, request.query_parameters), + method: :put, class: "button hollow alert" %> + <% end %> - <% end %> <% end %>