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

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

%><%= include( '/elements/select-table.html',
                 'table'       => 'agent',
                 'name_col'    => 'agent',
                 'value'       => $agentnum,
                 'empty_label' => 'all',
                 'hashref'     => { 'disabled' => '' },
                 %select_opt,
             )
%>