Fix missing </td> closing tag for blocked users

It was working because browsers automatically assume one <td> element
ends when finding a </tr> tag without a </td>.
This commit is contained in:
Javi Martín
2021-12-01 19:29:28 +01:00
parent 84149d5eb4
commit 9a8a8ce5ce

View File

@@ -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 %>
</td>
<% end %>
</tr>
<% end %>
</tbody>