4.x style
[freeside.git] / httemplate / elements / tr-textarea.html
index fb41ac3..ae2ef81 100644 (file)
@@ -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'};