Last change
on this file since 433 was
319,
checked in by nanardon, 14 years ago
|
- support of several poll type
- remove static result storage
|
-
Property svn:keywords set to
Id Rev
|
File size:
580 bytes
|
Line | |
---|
1 | <!-- $Id$ --> |
---|
2 | [% poll = c.model('Vote').poll(voteid) %] |
---|
3 | |
---|
4 | [% IF poll.info('procedure') %] |
---|
5 | [% poll.info('procedure') | html %] |
---|
6 | <hr> |
---|
7 | [% ELSIF poll.info('description') %] |
---|
8 | [% poll.info('description') | html %] |
---|
9 | <hr> |
---|
10 | [% END %] |
---|
11 | |
---|
12 | <form action="[% b_form_url %]" method="POST"> |
---|
13 | |
---|
14 | [% ballottt = 'pollinc/' _ poll.type _ '/ballot.tt' %] |
---|
15 | [% INCLUDE $ballottt %] |
---|
16 | |
---|
17 | <br> |
---|
18 | <input type="submit" name="ballot" value="[% l('Vote') _ ' ' %] >>"> |
---|
19 | </form> |
---|
20 | <hr> |
---|
21 | <form action="[% b_form_url %]" method="POST"> |
---|
22 | <input type="submit" name="ballot" value="[% l('Empty ballot') _ ' ' %] >>"> |
---|
23 | </form> |
---|
Note: See
TracBrowser
for help on using the repository browser.