-<TR>
+<%doc>
- <TD ALIGN="right" VALIGN="top" STYLE="<% $style %>" ID="<% $opt{label_id} || $opt{id}. '_label0' %>">
+Actually <TR> <TH> $label </TH>
- <% $opt{label} %>
+Note that this puts the 'label' argument into the document verbatim, with no
+escaping or localization.
- </TD>
+</%doc>
+<TR id="<% $opt{'id'} %>_row" <% $row_style %>>
+
+ <TH ALIGN = "right"
+ VALIGN = "<% $opt{'valign'} || 'top' %>"
+ STYLE = "<% $style %>"
+ ID = "<% $opt{label_id} || $opt{id}. '_label0' %>"
+ ><% $required %><% $opt{label} %></TD>
<%init>
$style .= '; '. $opt{'cell_style'}
if $opt{'cell_style'};
+my $row_style = 'style="visibility:collapse;"' if $opt{'hide_onload'};
+
+my $required = $opt{'required'} ? '<font color="#ff0000">*</font> ' : '';
+
</%init>