Files
danbooru/app/views/comments/show.html.erb
2013-08-07 20:07:47 -04:00

24 lines
803 B
Plaintext

<div id="c-comments">
<div id="a-show">
<div class="comments-for-post">
<div class="list-of-comments">
<div id="post_<%= @comment.post.id %>" class="post <%= PostPresenter.preview_class(@comment.post) %>" <%= PostPresenter.data_attributes(@comment.post) %>>
<div class="preview">
<% if @comment.post.visible? %>
<%= link_to(image_tag(@comment.post.preview_file_url), post_path(@comment.post)) %>
<% end %>
</div>
<%= render :partial => "comments/partials/show/comment", :collection => [@comment] %>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
</div>
<%= render "secondary_links" %>
<% content_for(:page_title) do %>
Comment - <%= Danbooru.config.app_name %>
<% end %>