forked from bofh/fetsite
AutoCommit Mon Aug 10 21:03:04 CEST 2015
This commit is contained in:
@@ -10,14 +10,17 @@
|
|||||||
<p>
|
<p>
|
||||||
<%= comment.text %>
|
<%= comment.text %>
|
||||||
<% if can?(:comment, comment.commentable) && can?(:new, Comment) %>
|
<% if can?(:comment, comment.commentable) && can?(:new, Comment) %>
|
||||||
<br><%= link_to "comment" , new_comment_path( commentable_type: "Comment", commentable_id: comment.id), remote:true %>
|
<br><%= link_to fa_icon("mail-reply")+" antworten" , new_comment_path( commentable_type: "Comment", commentable_id: comment.id), remote:true %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<div id="<%= Comment.wrapid_for( comment)%>">
|
<div id="<%= Comment.wrapid_for( comment)%>">
|
||||||
<%= render partial:"comments/comments", object: comment.children.order(:created_at).reverse_order if comment.children.size >0 %>
|
<%= render partial:"comments/comments", object: comment.children.order(:created_at).reverse_order if comment.children.size >0 %>
|
||||||
</div>
|
<%= link_to fa_icon("mail-reply")+" antworten" , new_comment_path( commentable_type: "Comment", commentable_id: comment.id), remote:true %>
|
||||||
|
|
||||||
|
<% end %>
|
||||||
|
</div>
|
||||||
<div id="<%= divid_for(comment,"newform") %>"></div>
|
<div id="<%= divid_for(comment,"newform") %>"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user