Ignore:
Timestamp:
04/19/09 20:06:03 (15 years ago)
Author:
nanardon
Message:
  • add specific object to manage ballot data
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/root/templates/includes/ballot_form.tt

    r207 r219  
    99 
    1010[% count = 0 %] 
     11[% WHILE count < (poll.info('elected_choice') || 0) %] 
     12[% FOREACH vkey = poll.voting_keys %] 
     13[% voting = poll.voting(vkey) %] 
     14[% '<select name="esbal"><option value=""></option>' IF loop.first %] 
     15<option value="[% voting.info.id || voting.info.mail | html %]"> 
     16    [% voting.info.id || voting.info.mail | html %] 
     17</option> 
     18[% '</select>' IF loop.last %] 
     19[% END %] 
     20[% count = count + 1 %] 
     21[% END %] 
     22 
     23[% count = 0 %] 
    1124[% WHILE count < poll.info('free_choice') %] 
    1225<input type="text" name="fsbal" value="[% fsbal.$count %]"><br> 
Note: See TracChangeset for help on using the changeset viewer.