%= render Moderation::Shared::IndexComponent.new(@comments) do %>
| <%= t("moderation.comments.index.headers.comment") %> | <%= t("moderation.comments.index.headers.moderate") %> |
|---|---|
|
<%= comment.commentable_type.constantize.model_name.human %> -
<%= link_to comment.commentable.title,
commentable_path(comment),
id: dom_id(comment, :title) %>
<%= l comment.updated_at.to_date %> • <%= comment.flags_count %> • <%= comment.author.username %>
<%= comment.body %>
|
<%= check_box_tag "comment_ids[]", comment.id, nil, id: "#{dom_id(comment)}_check", "aria-labelledby": dom_id(comment, :title) %> |