X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-td-label.html;h=542f4559c26ccf15445d4ced245ea4cf0ae674fb;hb=057ae504915d912bc60df87c9914e11752edf680;hp=f8473891f07f9175f870df0e5e7d0d91d053cb40;hpb=fced2ed0147049fded427862a3517c172f86513e;p=freeside.git diff --git a/httemplate/elements/tr-td-label.html b/httemplate/elements/tr-td-label.html index f8473891f..542f4559c 100644 --- a/httemplate/elements/tr-td-label.html +++ b/httemplate/elements/tr-td-label.html @@ -1,10 +1,18 @@ - +<%doc> + +Actually $label + +Note that this puts the 'label' argument into the document verbatim, with no +escaping or localization. + + +> <% $opt{label} %> + ><% $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'} ? '* ' : ''; +