source: trunk/root/templates/admin/delete.tt @ 379

Last change on this file since 379 was 339, checked in by misc, 14 years ago
  • replace post by POST ( maybe html compliance, not sure )
  • Property svn:keywords set to Id
File size: 919 bytes
Line 
1<!-- $Id$ -->
2[% poll = c.model('Vote').poll(voteid) %]
3
4[% INCLUDE 'includes/admin_menu.tt' %]
5
6[% IF poll.status == 'AFTER' %]
7<div style="width:25%; float: left" class="box">
8<p>[% l('Delete ballots') %]</p>
9
10<p>[% l('This will delete sensitive data from database and results will be finally
11computed. Note that voters won\'t be able to check their ballots anymore')
12%]</p>
13
14<form action="[% c.uri_for(poll.uid, 'delete') %]" method="post">
15<input type="submit" value="effacer" name="delete_ballot">
16</form>
17</div>
18[% END %]
19
20[% IF poll.status != 'RUNNING' %]
21<div style="width:25%; float: left" class="box">
22<p>[% l('Delete this poll') %]</p>
23
24<p>[% l('This will completely delete all data about this poll (configuration,
25list of voters, ballots.') %]</p>
26
27<form action="[% c.uri_for(poll.uid, 'delete') %]" method="POST">
28<input type="submit" value="[% l('Delete') %]" name="delete_poll">
29</form>
30</div>
31[% END %]
Note: See TracBrowser for help on using the repository browser.