%doc>
Example:
<& /elements/tr-checkbox.html,
'label' => 'Do or do not',
'field' => 'field_name',
'value' => 'Y',
&>
%doc>
<% include('tr-td-label.html', @_ ) %>
>
<% include('checkbox.html', @_) %>
|
<%init>
my %opt = @_;
my $onchange = $opt{'onchange'}
? 'onChange="'. $opt{'onchange'}. '(this)"'
: '';
my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
%init>