diff options
Diffstat (limited to 'httemplate/elements/tr-select.html')
-rw-r--r-- | httemplate/elements/tr-select.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/httemplate/elements/tr-select.html b/httemplate/elements/tr-select.html new file mode 100644 index 0000000..cf1b3cc --- /dev/null +++ b/httemplate/elements/tr-select.html @@ -0,0 +1,22 @@ +% unless ( $opt{'js_only'} ) { + + <% include('tr-td-label.html', %opt ) %> + + <TD <% $colspan %> <% $style %>> +% } + + <% include('select.html', %opt ) %> + +% unless ( $opt{'js_only'} ) { + </TD> + </TR> +% } +<%init> + +my %opt = @_; + +my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : ''; + +my $colspan = $opt{'colspan'} ? 'COLSPAN="'.$opt{'colspan'}.'"' : ''; + +</%init> |