source: trunk/root/templates/admin/includes/ballot_decrypt.tt @ 375

Last change on this file since 375 was 327, checked in by nanardon, 14 years ago
  • don't ask for key passphrase if there is no key
  • Property svn:keywords set to Id Rev
File size: 441 bytes
Line 
1<!-- $Id$ -->
2[% poll = c.model('Vote').poll(voteid) %]
3
4<div class="box">
5<p>[% l('[_1] ballots to decrypt in this poll', poll.list_ballot_need_dec.size) %]</p>
6<form action="[% c.uri_for(poll.uid) %]" method="POST">
7[% IF NOT poll.info.private_key %]
8<p>[% l('Enter poll key here:') %]</p>
9<input type="password" name="passphrase"><br>
10[% END %]
11<input type="submit" name="decryptballot" value="[% l('Decrypt ballots') %]">
12</form>
13</div>
Note: See TracBrowser for help on using the repository browser.