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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user