moves comment form to top of comments

This commit is contained in:
rgarcia
2015-07-19 12:56:15 +02:00
parent ab5f28c4de
commit bb46182f10

View File

@@ -28,13 +28,12 @@
<br/><br/>
<div id="comments" style="padding-top:20px">
<h2>Comentarios</h2>
<div style="padding-bottom:60px">
Deja tu comentario
<%= render 'comments/form', parent: @debate %>
</div>
<%= render @debate.root_comments %>
</div>
Deja tu comentario
<%= render 'comments/form', parent: @debate %>
<br/><br/>
<%= link_to 'Edit', edit_debate_path(@debate) %> |
<%= link_to 'Back', debates_path %>