source: trunk/root/templates/admin/default.tt @ 16

Last change on this file since 16 was 16, checked in by nanardon, 15 years ago
  • add admin interface
File size: 869 bytes
Line 
1[% vote = c.model('Vote') %]
2
3<form action="[% c.uri_for(voteid) %]">
4
5[% thisvote = vote.vote_info(voteid) %]
6
7Label: <input type="text" name="label" value="[% c.req.param('label') || thisvote.label | html %]">
8<br>
9Description: <textarea name="description">[% c.req.param('description') || thisvote.description | html %]</textarea>
10<br>
11Debut du vote:
12<input type="text" name="start" value="[% c.req.param('start') || thisvote.start | html %]">
13Fin du vote:
14<input type="text" name="end" value="[% c.req.param('end') || thisvote.end | html %]">
15<br>
16Nombre de choix possible:
17<input type="text" name="choice_count" value="[% c.req.param('choice_count') || thisvote.choice_count | html %]">
18<br>
19Nombre 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.