fixed comment quoting
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user