summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-td-label.html
diff options
context:
space:
mode:
authorivan <ivan>2011-10-14 08:56:14 +0000
committerivan <ivan>2011-10-14 08:56:14 +0000
commitdac4bb8dc3fcdd36fdcaf445c12134103a9d599e (patch)
treee0d89739917057214c94f580de2aff82efd19d34 /httemplate/elements/tr-td-label.html
parenta2c71f908a8e1b529f53abbfeb990a4fd0af7468 (diff)
maintain freeradius nas table, RT#14697
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>