summaryrefslogtreecommitdiff
path: root/httemplate/elements/select-pkg_class.html
blob: 5486e087772949de62f4e2401ef9ebd0e75ee074 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<%
  my( $classnum, %opt ) = @_;

  my %select_opt = ();
  $select_opt{'records'} = $opt{'pkg_class'}
    if $opt{'pkg_class'};

%><%= include( '/elements/select-table.html',
                 'table'       => 'pkg_class',
                 'name_col'    => 'classname',
                 'value'       => $classnum,
                 'empty_label' => '(none)',
                 #'hashref'     => { 'disabled' => '' },
                 #%select_opt,
             )
%>