summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select.html
blob: f9c768c6030772eb2870c5865193815586c4a6c2 (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 = @_;
warn join ' / ', %opt;
my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';

my $colspan = $opt{'colspan'} ? 'COLSPAN="'.$opt{'colspan'}.'"' : '';

</%init>