fixed comment quoting

This commit is contained in:
albert
2011-09-13 18:41:50 -04:00
parent e8d16b2b33
commit 13995cfd39
4 changed files with 38 additions and 2 deletions

View File

@@ -6,11 +6,11 @@
</p>
</div>
<div class="content">
<div>
<div class="body">
<%= format_text(comment.body) %>
</div>
<menu>
<li><span class="link">Reply</span></li>
<li><%= link_to "Reply", new_comment_path(:post_id => comment.post_id), :class => "reply-link", "data-comment-id" => comment.id %></li>
<% if CurrentUser.user.is_janitor? || CurrentUser.user.id == comment.creator_id %>
<li><%= link_to "Delete", comment_path(comment.id), :confirm => "Do you really want to delete this comment?", :method => :delete %></li>
<li><%= link_to "Edit", edit_comment_path(comment.id) %></li>