@@ -8,7 +8,9 @@
|
||||
<%= comment.user.name %> • <%= time_ago_in_words(comment.created_at) %>
|
||||
</span>
|
||||
<p><%= comment.body %></p>
|
||||
<p class="reply"><%= render 'comments/form', parent: comment %></p>
|
||||
<% if user_signed_in? %>
|
||||
<p class="reply"><%= render 'comments/form', {parent: comment, toggeable: true} %></p>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<div class="comment-children">
|
||||
|
||||
Reference in New Issue
Block a user