summaryrefslogtreecommitdiff
path: root/httemplate/elements/select-hardware_type.html
blob: ae07798fc4f3e683c80728046d2635667e7fb01e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<% include( '/elements/select-table.html',
                 'table'         => 'hardware_type',
                 'name_col'      => 'model',
                 'hashref'       => $hashref,
                 %opt,
             )
%>
<%init>
my %opt = @_;
my $classnum = delete $opt{'classnum'};
my $hashref = $opt{'hashref'} || {};
$hashref->{'classnum'} = $classnum if $classnum;

</%init>