summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select.html
blob: cf1b3cc608ab0be1a5964b3626cb32000a867c08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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>