Last change
on this file since 319 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:
962 bytes
|
Line | |
---|
1 | <!-- $Id$ --> |
---|
2 | [% poll = c.model('Vote').poll(voteid) %] |
---|
3 | |
---|
4 | <table border=1> |
---|
5 | <tr> |
---|
6 | <td>[% l('Number of possible choice:') %]</td> |
---|
7 | <td><input type="text" size="3" name="choice_count" value="[% c.req.param('choice_count') || poll.info('choice_count') | html %]"></td> |
---|
8 | </tr> |
---|
9 | |
---|
10 | <tr> |
---|
11 | <td>[% l('Number of people to elect') %]<br> |
---|
12 | ([% l('if different of number of choice') %]) |
---|
13 | </td> |
---|
14 | <td><input type="text" size="3" name="elected_count" value="[% c.req.param('elected_count') || poll.raw_info('elected_count') | html %]"></td> |
---|
15 | </tr> |
---|
16 | |
---|
17 | <tr> |
---|
18 | <td>[% l('Number of free input fields:') %]</td> |
---|
19 | <td><input type="text" size="3" name="free_choice" value="[% c.req.param('free_choice') || poll.info('free_choice') || 0 | html %]"></td> |
---|
20 | </tr> |
---|
21 | |
---|
22 | <tr> |
---|
23 | <td>[% l('Number of people to elect, taken from voting list') %]</td> |
---|
24 | <td><input type="text" size="3" name="elected_choice" value="[% c.req.param('elected_choice') || poll.info('elected_choice') || 0 | html %]"></td> |
---|
25 | </tr> |
---|
26 | |
---|
27 | </table> |
---|
Note: See
TracBrowser
for help on using the repository browser.