date.chapril.org-framadate/tpl/confirm/delete_comments.tpl
Antonin 4c137748b4 Editing vote by link with unique id
- Changed the smarty modifier poll_url to a function and added the vote_id parameter
	- Modified accordingly all poll_url occurence in templates
	- Added htaccess.txt to be sure to keep poll's URL changes up to date
	- Escaped some templates output in order to avoid to broke HTML
	- Using vote's uniqId instead of vote's id when it's needed
2015-04-02 16:56:52 +02:00

11 lines
569 B
Smarty

{extends file='page.tpl'}
{block name=main}
<form action="{poll_url id=$admin_poll_id admin=true}" method="POST">
<div class="alert alert-danger text-center">
<h2>{__('adminstuds', 'Confirm removal of all comments of the poll')}</h2>
<p><button class="btn btn-default" type="submit" name="cancel">{__('adminstuds', 'Keep the comments')}</button>
<button type="submit" name="confirm_remove_all_comments" class="btn btn-danger">{__('adminstuds', 'Remove the comments')}</button></p>
</div>
</form>
{/block}