Changeset 17 for trunk/root
- Timestamp:
- 03/07/09 18:44:50 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/root/templates/ballot/default.tt
r15 r17 1 1 [% vote = c.model('Vote') %] 2 2 3 [% INLCUDE 'includes/poll.tt' %] 3 [% thisvote = vote.vote_info(voteid) %] 4 5 [% INCLUDE 'includes/poll.tt' %] 4 6 5 7 [% IF c.req.param('ballot') %] … … 13 15 [% FOREACH ch = c.req.param('fsbal') %] 14 16 [% ch | html %]<br> 15 <input type="hidden" name=" sbal" value="[% ch %]">17 <input type="hidden" name="fsbal" value="[% ch %]"> 16 18 [% END %] 17 19 <input type="submit" name="confirm"> … … 20 22 21 23 [% ELSE %] 24 25 [% IF vote_error %][% vote_error %][% END %] 22 26 23 27 <form action="[% c.uri_for(voteid) %]"> … … 30 34 [% count = 0 %] 31 35 [% WHILE count < thisvote.free_choice %] 32 <input type="text" name="fsbal" value="[% c.req.param('fsbal').count %]"><br>36 <input type="text" name="fsbal" value="[% fsbal.$count %]"><br> 33 37 [% count = count + 1 %] 34 38 [% END %]
Note: See TracChangeset
for help on using the changeset viewer.