Changeset 224 for trunk/root/templates


Ignore:
Timestamp:
04/20/09 05:45:33 (15 years ago)
Author:
nanardon
Message:
  • always allow to remap ballot value (#12)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/root/templates/admin/includes/ballot_validation.tt

    r223 r224  
    1616    <input type="hidden" name="mapfrom" value="[% untrusted | html %]"> 
    1717    <select name="mapto"> 
     18    <option></option> 
    1819    [% FOREACH v = poll.ballot_values %] 
    1920        [% NEXT IF v == untrusted %] 
    20         <option>[% v | html %]</options> 
     21        <option[% " selected" IF poll.value_map_to(untrusted) == v %]>[% v | html %]</options> 
    2122    [% END %] 
    2223    </select> 
Note: See TracChangeset for help on using the changeset viewer.