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