fix HTML
[freeside.git] / httemplate / elements / tr-td-label.html
1 <%doc>
2
3 Actually <TR> <TH> $label </TH>
4
5 </%doc>
6 <TR>
7
8   <TH ALIGN  = "right"
9       VALIGN = "<% $opt{'valign'} || 'top' %>"
10       STYLE  = "<% $style %>"
11       ID     = "<% $opt{label_id} || $opt{id}. '_label0' %>"
12   ><% $required %><% $opt{label} %></TH>
13
14 <%init>
15
16 my %opt = @_;
17
18 my $style = 'padding-top: 3px';
19 $style .= '; '. $opt{'cell_style'}
20   if $opt{'cell_style'};
21
22 my $required = $opt{'required'} ? '<font color="#ff0000">*</font>&nbsp;' : '';
23 if ($required) {
24   $style .= ';font-weight: bold';
25 }
26
27 </%init>