summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-td-label.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/tr-td-label.html')
-rw-r--r--httemplate/elements/tr-td-label.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/elements/tr-td-label.html b/httemplate/elements/tr-td-label.html
index f8473891f..8125541c7 100644
--- a/httemplate/elements/tr-td-label.html
+++ b/httemplate/elements/tr-td-label.html
@@ -4,7 +4,7 @@
VALIGN = "<% $opt{'valign'} || 'top' %>"
STYLE = "<% $style %>"
ID = "<% $opt{label_id} || $opt{id}. '_label0' %>"
- ><% $opt{label} %></TD>
+ ><% $required %><% $opt{label} %></TD>
<%init>
@@ -14,4 +14,6 @@ my $style = 'padding-top: 3px';
$style .= '; '. $opt{'cell_style'}
if $opt{'cell_style'};
+my $required = $opt{'required'} ? '<font color="#ff0000">*</font>&nbsp;' : '';
+
</%init>