X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-td-label.html;h=80dddaa472f0b74ab39d01457c3136c5eb3cce45;hp=77c048405d775292c526f1cba8b3602da60ba9c0;hb=37e92c220a54636ebc7900cd59ec6ce56790ede8;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c diff --git a/httemplate/elements/tr-td-label.html b/httemplate/elements/tr-td-label.html index 77c048405..80dddaa47 100644 --- a/httemplate/elements/tr-td-label.html +++ b/httemplate/elements/tr-td-label.html @@ -1,10 +1,18 @@ - +<%doc> - +Actually $label - <% $opt{label} %> +Note that this puts the 'label' argument into the document verbatim, with no +escaping or localization. - + +> + + <% $required %><% $opt{label} %> <%init> @@ -14,4 +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'} ? '* ' : ''; +