projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix UI nit
[freeside.git]
/
httemplate
/
elements
/
tr-td-label.html
diff --git
a/httemplate/elements/tr-td-label.html
b/httemplate/elements/tr-td-label.html
index
8125541
..
3111f43
100644
(file)
--- a/
httemplate/elements/tr-td-label.html
+++ b/
httemplate/elements/tr-td-label.html
@@
-1,10
+1,18
@@
+<%doc>
+
+Actually <TR> <TH> $label </TH>
+
+Note that this puts the 'label' argument into the document verbatim, with no
+escaping or localization.
+
+</%doc>
<TR>
<TR>
- <T
D
ALIGN = "right"
+ <T
H
ALIGN = "right"
VALIGN = "<% $opt{'valign'} || 'top' %>"
STYLE = "<% $style %>"
ID = "<% $opt{label_id} || $opt{id}. '_label0' %>"
VALIGN = "<% $opt{'valign'} || 'top' %>"
STYLE = "<% $style %>"
ID = "<% $opt{label_id} || $opt{id}. '_label0' %>"
- ><% $required %><% $opt{label} %></T
D
>
+ ><% $required %><% $opt{label} %></T
H
>
<%init>
<%init>
@@
-15,5
+23,8
@@
$style .= '; '. $opt{'cell_style'}
if $opt{'cell_style'};
my $required = $opt{'required'} ? '<font color="#ff0000">*</font> ' : '';
if $opt{'cell_style'};
my $required = $opt{'required'} ? '<font color="#ff0000">*</font> ' : '';
+if ($required) {
+ $style .= ';font-weight: bold';
+}
</%init>
</%init>