Comments

<%= render "posts/partials/common/inline_blacklist" %>
<% @comments.each do |comment| %> <% if CurrentUser.is_moderator? || !comment.is_deleted? %>
>
<% if comment.post.visible? %> <%= link_to(image_tag(comment.post.preview_file_url), post_path(comment.post)) %> <% end %>
<%= render :partial => "comments/partials/show/comment", :collection => [comment] %>
<% end %> <% end %>
<%= numbered_paginator(@comments) %>
<%= render "comments/secondary_links" %> <% content_for(:page_title) do %> Comments - <%= Danbooru.config.app_name %> <% end %> <% content_for(:html_header, auto_discovery_link_tag(:atom, comments_url(:atom, search: params[:search]), title: "Comments")) %>