summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-textarea.html
diff options
context:
space:
mode:
authorjeff <jeff>2009-03-10 16:14:11 +0000
committerjeff <jeff>2009-03-10 16:14:11 +0000
commit32db3ad86bcf04e4f34705a396b718061d333f20 (patch)
tree1c64247c48327cb36d3bf7cbee466a655917fea4 /httemplate/elements/tr-textarea.html
parent200171841941972b3305cf8be8ef367a1a363e93 (diff)
merge webpay support in with autoselection of old realtime_bop and realtime_refund_bop
Diffstat (limited to 'httemplate/elements/tr-textarea.html')
-rw-r--r--httemplate/elements/tr-textarea.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/httemplate/elements/tr-textarea.html b/httemplate/elements/tr-textarea.html
new file mode 100644
index 000000000..fb41ac38f
--- /dev/null
+++ b/httemplate/elements/tr-textarea.html
@@ -0,0 +1,25 @@
+<% include('tr-td-label.html', @_ ) %>
+
+ <TD <% $cell_style %>>
+
+ <TEXTAREA NAME = "<% $opt{field} %>"
+ ID = "<% $opt{id} %>"
+ <% $onchange %>
+ ><% $curr_value |h %></TEXTAREA>
+
+ </TD>
+
+</TR>
+
+<%init>
+
+my %opt = @_;
+
+my $onchange = $opt{'onchange'}
+ ? 'onChange="'. $opt{'onchange'}. '(this)"'
+ : '';
+
+my $cell_style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
+my $curr_value = $opt{'curr_value'};
+
+</%init>