Changeset 22 for trunk/root/templates/admin/default.tt
- Timestamp:
- 03/09/09 03:59:15 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/root/templates/admin/default.tt
r16 r22 1 1 [% vote = c.model('Vote') %] 2 2 3 <table border="1"> 4 <tr><th>Vote</th><th>Possibilité de vote</th></tr> 5 <tr> 6 <td valign="TOP"> 3 7 <form action="[% c.uri_for(voteid) %]"> 4 8 … … 11 15 Debut du vote: 12 16 <input type="text" name="start" value="[% c.req.param('start') || thisvote.start | html %]"> 17 <br> 13 18 Fin du vote: 14 19 <input type="text" name="end" value="[% c.req.param('end') || thisvote.end | html %]"> … … 20 25 <input type="text" name="free_choice" value="[% c.req.param('free_choice') || thisvote.free_choice | html %]"> 21 26 <br> 22 23 24 27 <input type="submit"> 25 28 </form> 29 </td> 30 <td valign="TOP"> 31 [% FOREACH choice = vote.vote_choices(voteid) %] 32 <form action="[% c.uri_for(voteid) %]"> 33 [% loop.count %] - [% vote.choice_info(choice).label | html %] 34 <input type="hidden" name="delch" value="[% vote.choice_info(choice).key %]"> 35 <input type="submit" name="del" value="Effacer"> 36 </form> 37 <br> 38 [% END %] 39 <form action="[% c.uri_for(voteid) %]"> 40 Ajouter un choix:<br> 41 <input type="text" name="addch"> 42 <input type="submit"> 43 </form> 44 </td> 45 </tr> 46 </table> 47 48 <hr> 49 50 <table border="1"> 51 <tr> 52 <td valign="TOP"> 53 [% signing = [ vote.vote_signing(voteid) ] %] 54 [% FOREACH voting = signing %] 55 [% voting.id | html %] [% voting.mail | html %]<br> 56 [% END %] 57 </td> 58 <td valign="TOP"> 59 <form action="[% c.uri_for(voteid) %]"> 60 Login: <input type="text" name="id"><br> 61 Mail: <input type="text" name="mail"><br> 62 <input type="submit"> 63 </form> 64 <hr> 65 <form method="POST" ENCTYPE="multipart/form-data" action="[% c.uri_for(voteid) %]"> 66 <input type="file" name="votinglist"><br> 67 <input type="checkbox" name="delete">Effacer la liste des votants<br> 68 <input type="submit"> 69 </form> 70 </td> 71 </tr> 72 </table> 73 </t
Note: See TracChangeset
for help on using the changeset viewer.