summaryrefslogtreecommitdiff
path: root/httemplate/elements/select-reason_type.html
blob: 9031e583a0b1e3471d0803459cf4098b7a0fd4c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<% include( '/elements/select-table.html',
                 'table'       => 'reason_type',
                 'name_col'    => 'type',
                 'value'       => $typenum,
                 #XXX? 'empty_label' => '(none)',
                 #XXX? 'hashref'     => { 'disabled' => '' },
                 %opt,
             )
%>
<%init>

my %opt = @_;
my $typenum = $opt{'curr_value'} || $opt{'value'};

#my %hash = ();
#$hash{'disabled'} = '' unless $opt{'showdisabled'};

#$opt{'records'} = delete $opt{'reason_type'}
#  if $opt{'reason_type'};

</%init>