Line | |
---|
1 | [% vote = c.model('Vote') %] |
---|
2 | |
---|
3 | <form action="[% c.uri_for(voteid) %]"> |
---|
4 | |
---|
5 | [% thisvote = vote.vote_info(voteid) %] |
---|
6 | |
---|
7 | Label: <input type="text" name="label" value="[% c.req.param('label') || thisvote.label | html %]"> |
---|
8 | <br> |
---|
9 | Description: <textarea name="description">[% c.req.param('description') || thisvote.description | html %]</textarea> |
---|
10 | <br> |
---|
11 | Debut du vote: |
---|
12 | <input type="text" name="start" value="[% c.req.param('start') || thisvote.start | html %]"> |
---|
13 | Fin du vote: |
---|
14 | <input type="text" name="end" value="[% c.req.param('end') || thisvote.end | html %]"> |
---|
15 | <br> |
---|
16 | Nombre de choix possible: |
---|
17 | <input type="text" name="choice_count" value="[% c.req.param('choice_count') || thisvote.choice_count | html %]"> |
---|
18 | <br> |
---|
19 | Nombre de choix libres: |
---|
20 | <input type="text" name="free_choice" value="[% c.req.param('free_choice') || thisvote.free_choice | html %]"> |
---|
21 | <br> |
---|
22 | |
---|
23 | |
---|
24 | <input type="submit"> |
---|
25 | </form> |
---|
Note: See
TracBrowser
for help on using the repository browser.