Convert classes to use data attributes

- Remote resolved classes on post flags since they were unused
This commit is contained in:
BrokenEagle
2020-01-04 03:40:50 +00:00
parent 223a6df5d8
commit 4b904dff5a
8 changed files with 11 additions and 23 deletions

View File

@@ -4,7 +4,7 @@
<%= render "search" %>
<%= render "posts/partials/common/inline_blacklist" %>
<%= table_for @post_flags, {class: "striped", width: "100%"}, {class: ["resolved-%s", "item.is_resolved?"]} do |t| %>
<%= table_for @post_flags, {class: "striped", width: "100%"} do |t| %>
<% t.column "Post", {width: "1%"} do |post_flag| %>
<%= PostPresenter.preview(post_flag.post, :tags => "status:any") %>
<% end %>