% unless ( $opt{'disabled'} || scalar(@all_agent_types) == 1 ) { <% include('/elements/tr-justtitle.html', value=>'Agent (reseller) types') %> % } <% include('select-agent_types.html', %opt) %> <%init> my %opt = @_; my @all_agent_types = map {$_->typenum} qsearch('agent_type',{});