Fix comments deletion

This commit is contained in:
Olivier PEREZ 2016-04-12 00:19:15 +02:00
parent a055c6d739
commit b35aa2420e

View File

@ -1,4 +1,5 @@
<div id="comments_list"> <div id="comments_list">
<form action="{if $admin}{poll_url id=$admin_poll_id admin=true}{else}{poll_url id=$poll_id}{/if}" method="POST">
{if $comments|count > 0} {if $comments|count > 0}
<h3>{__('Comments', 'Comments of polled people')}</h3> <h3>{__('Comments', 'Comments of polled people')}</h3>
{foreach $comments as $comment} {foreach $comments as $comment}
@ -12,5 +13,6 @@
</div> </div>
{/foreach} {/foreach}
{/if} {/if}
</form>
<div id="comments_alerts"></div> <div id="comments_alerts"></div>
</div> </div>