1 <% include('elements/edit.html',
2 'name' => 'Allocation',
3 'table' => 'addr_block',
4 'labels' => { 'NetAddr' => 'Block',
5 'routernum' => 'Router',
7 'fields' => [ { 'field' => 'NetAddr',
10 { 'field' => 'routernum',
11 'type' => 'select-table',
13 'name_col' => 'routername',
17 'Broadband global configuration',
20 'post_url' => "process/addr_block/allocate.cgi",
23 'agent_null_right' => 'Broadband global configuration',
28 my $curuser = $FS::CurrentUser::CurrentUser;
30 unless $curuser->access_right('Broadband configuration')
31 || $curuser->access_right('Broadband global configuration');