1 <% include('tr-td-label.html', @_ ) %>
5 <% $opt{'prefix'} %><INPUT TYPE = "<% $opt{type} || 'text' %>"
6 NAME = "<% $opt{field} %>"
8 VALUE = "<% $value |h %>"
13 ><% $opt{'postfix'} %>
23 my $value = length($opt{curr_value}) ? $opt{curr_value} : $opt{value};
25 my $onchange = $opt{'onchange'}
26 ? 'onChange="'. $opt{'onchange'}. '(this)"'
29 my $size = $opt{'size'}
30 ? 'SIZE="'. $opt{'size'}. '"'
33 my $maxlength = $opt{'maxlength'}
34 ? 'MAXLENGTH="'. $opt{'maxlength'}. '"'
37 my $align = $opt{'text-align'}
38 ? 'STYLE="text-align: '. $opt{'text-align'}. '"'
42 my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';