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.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/httemplate/elements/tr-td-label.html b/httemplate/elements/tr-td-label.html
new file mode 100644
index 000000000..f8473891f
--- /dev/null
+++ b/httemplate/elements/tr-td-label.html
@@ -0,0 +1,17 @@
+<TR>
+
+ <TD ALIGN = "right"
+ VALIGN = "<% $opt{'valign'} || 'top' %>"
+ STYLE = "<% $style %>"
+ ID = "<% $opt{label_id} || $opt{id}. '_label0' %>"
+ ><% $opt{label} %></TD>
+
+<%init>
+
+my %opt = @_;
+
+my $style = 'padding-top: 3px';
+$style .= '; '. $opt{'cell_style'}
+ if $opt{'cell_style'};
+
+</%init>