X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-td-label.html;h=80dddaa472f0b74ab39d01457c3136c5eb3cce45;hp=78690f1fbd431ceaad048d7cc0e00bf1c32d57dd;hb=833cfe5c9938d33c3e6b97ed610c25a7afa6eb04;hpb=b6260b4f39cf34b9e0e5b8560ef88c8881ba0766 diff --git a/httemplate/elements/tr-td-label.html b/httemplate/elements/tr-td-label.html index 78690f1fb..80dddaa47 100644 --- a/httemplate/elements/tr-td-label.html +++ b/httemplate/elements/tr-td-label.html @@ -2,14 +2,17 @@ Actually $label +Note that this puts the 'label' argument into the document verbatim, with no +escaping or localization. + - +> <% $required %><% $opt{label} %> + ><% $required %><% $opt{label} %> <%init> @@ -19,9 +22,8 @@ my $style = 'padding-top: 3px'; $style .= '; '. $opt{'cell_style'} if $opt{'cell_style'}; +my $row_style = 'style="visibility:collapse;"' if $opt{'hide_onload'}; + my $required = $opt{'required'} ? '* ' : ''; -if ($required) { - $style .= ';font-weight: bold'; -}