summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/tr-textarea.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/elements/tr-textarea.html b/httemplate/elements/tr-textarea.html
index fb41ac38f..ae2ef81b6 100644
--- a/httemplate/elements/tr-textarea.html
+++ b/httemplate/elements/tr-textarea.html
@@ -4,6 +4,8 @@
<TEXTAREA NAME = "<% $opt{field} %>"
ID = "<% $opt{id} %>"
+ <% $rows %>
+ <% $cols %>
<% $onchange %>
><% $curr_value |h %></TEXTAREA>
@@ -19,6 +21,9 @@ my $onchange = $opt{'onchange'}
? 'onChange="'. $opt{'onchange'}. '(this)"'
: '';
+my $rows = $opt{'rows'} ? 'ROWS="'.$opt{'rows'}.'"' : '';
+my $cols = $opt{'cols'} ? 'COLS="'.$opt{'cols'}.'"' : '';
+
my $cell_style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
my $curr_value = $opt{'curr_value'};