refactors comment form
This commit is contained in:
committed by
Juanjo Bazán
parent
df5ef2dc29
commit
eb689d7c7e
@@ -82,7 +82,7 @@
|
||||
<span>(<%= @debate.comments_count %>)</span>
|
||||
</h2>
|
||||
<% if user_signed_in? %>
|
||||
<%= render 'comments/form', {parent: @debate, toggeable: false} %>
|
||||
<%= render 'comments/form', {commentable: @debate, parent_id: nil, toggeable: false} %>
|
||||
<% else %>
|
||||
<br>
|
||||
<div class="alert-box radius info">
|
||||
|
||||
Reference in New Issue
Block a user