Changeset 172 for trunk/root
- Timestamp:
- 04/08/09 02:59:14 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/root/templates/admin/default.tt
r169 r172 8 8 [% IF vote.vote_status(voteid) == 'BEFORE' %] 9 9 <table border="1"> 10 <tr><th>Vote</th><th> Possibilité de vote</th></tr>10 <tr><th>Vote</th><th></th></tr> 11 11 <tr> 12 12 <td valign="TOP"> … … 49 49 </td> 50 50 <td valign="TOP"> 51 [% IF ! vote.vote_choices(voteid).size %]52 <p class="alert">Aucun choix configuré</p>53 [% ELSE %]54 [% FOREACH choice = vote.vote_choices(voteid) %]55 <form action="[% c.uri_for(voteid) %]" method="POST">56 [% loop.count %] - [% vote.choice_info(choice).label | html %]57 <input type="hidden" name="delch" value="[% vote.choice_info(choice).key %]">58 <input type="submit" name="del" value="Effacer">59 </form>60 <br>61 [% END %]62 [% END %]63 <form action="[% c.uri_for(voteid) %]" method="POST">64 Ajouter un choix:<br>65 <input type="text" name="addch">66 <input type="submit" value="Ajouter">67 </form>68 51 </td> 69 52 </tr>
Note: See TracChangeset
for help on using the changeset viewer.