X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-td-label.html;h=3111f435cfd02b027235335890404a69c5c5ec5a;hb=1c3dfc13e3eaf4a0d2fc213111dcbf12608ee81c;hp=8125541c74abfc400ea8ba3a129f297f081f6717;hpb=fb4ab1073f0d15d660c6cdc4e07afebf68ef3924;p=freeside.git diff --git a/httemplate/elements/tr-td-label.html b/httemplate/elements/tr-td-label.html index 8125541c7..3111f435c 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. + + - <% $required %><% $opt{label} %> + ><% $required %><% $opt{label} %> <%init> @@ -15,5 +23,8 @@ $style .= '; '. $opt{'cell_style'} if $opt{'cell_style'}; my $required = $opt{'required'} ? '* ' : ''; +if ($required) { + $style .= ';font-weight: bold'; +}