projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
4.x-style
[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
1d96cf3
..
80dddaa
100644
(file)
--- a/
httemplate/elements/tr-td-label.html
+++ b/
httemplate/elements/tr-td-label.html
@@
-6,7
+6,7
@@
Note that this puts the 'label' argument into the document verbatim, with no
escaping or localization.
</%doc>
escaping or localization.
</%doc>
-<TR>
+<TR
id="<% $opt{'id'} %>_row" <% $row_style %>
>
<TH ALIGN = "right"
VALIGN = "<% $opt{'valign'} || 'top' %>"
<TH ALIGN = "right"
VALIGN = "<% $opt{'valign'} || 'top' %>"
@@
-22,6
+22,8
@@
my $style = 'padding-top: 3px';
$style .= '; '. $opt{'cell_style'}
if $opt{'cell_style'};
$style .= '; '. $opt{'cell_style'}
if $opt{'cell_style'};
+my $row_style = 'style="visibility:collapse;"' if $opt{'hide_onload'};
+
my $required = $opt{'required'} ? '<font color="#ff0000">*</font> ' : '';
</%init>
my $required = $opt{'required'} ? '<font color="#ff0000">*</font> ' : '';
</%init>