summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/tr-select.html')
-rw-r--r--httemplate/elements/tr-select.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/elements/tr-select.html b/httemplate/elements/tr-select.html
index 07b0a01d5..f9d54f118 100644
--- a/httemplate/elements/tr-select.html
+++ b/httemplate/elements/tr-select.html
@@ -1,6 +1,6 @@
<% include('tr-td-label.html', @_ ) %>
- <TD <% $style %>>
+ <TD <% $colspan %> <% $style %>>
<SELECT NAME = "<% $opt{field} %>"
ID = "<% $opt{id} %>"
@@ -58,4 +58,6 @@ my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
my $curr_value = $opt{'curr_value'};
+my $colspan = $opt{'colspan'} ? 'COLSPAN="'.$opt{'colspan'}.'"' : '';
+
</%init>