1 <% include('tr-td-label.html', @_ ) %>
5 % foreach my $option ( @{ $opt{options} } ) { #just arrayref for now
7 <INPUT TYPE = "checkbox"
8 NAME = "<% $opt{field} %>"
9 ID = "<% $opt{id}.'_'.$option %>"
10 VALUE = "<% $option %>"
11 <% ref($value) && $value->{$option} || $value eq $option
16 > <% $labels->{$option} %>
30 my $onchange = $opt{'onchange'}
31 ? 'onChange="'. $opt{'onchange'}. '(this)"'
34 my $value = $opt{'curr_value'} || $opt{'value'};
36 my $labels = $opt{'option_labels'} || $opt{'labels'};
38 my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';