<%= content_tag(:div, { id: "post_#{@comment.post_id}", class: ["post", *PostPresenter.preview_class(@comment.post)].join(" ") }.merge(PostPresenter.data_attributes(@comment.post))) do %>
<% 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 %>
<%= render "secondary_links" %>