1 %# if ( $cgi->param('clone') ) { #XXX
2 % if ( $opt{'disabled'} ) {
4 <INPUT TYPE="hidden" NAME="agent_type" VALUE="">
6 % } elsif ( scalar(@all_agent_types) == 1) {
8 <INPUT TYPE="hidden" NAME="agent_type" VALUE="<% $all_agent_types[0] %>">
12 <% include( 'select-table.html',
13 'element_name' => 'agent_type',
14 'table' => 'agent_type',
15 'name_col' => 'atype',
16 #'value' => \@agent_type,
17 'element_etc' => 'size="10"',
19 'multiple' => '1', #cause edit.html is dum
28 my @all_agent_types = map {$_->typenum} qsearch('agent_type',{});