diff options
author | jeff <jeff> | 2008-04-18 03:29:28 +0000 |
---|---|---|
committer | jeff <jeff> | 2008-04-18 03:29:28 +0000 |
commit | d1d39ca153781e8c6f2640f9a694b2631bec3550 (patch) | |
tree | b756f8c457b3bfb0b9391db5f47bbdc9a66fb57d /httemplate/edit/allocate.html | |
parent | f3547a0b913f2c982df13177240c6c5ba0b29231 (diff) |
drag address and router even farther into the century
Diffstat (limited to 'httemplate/edit/allocate.html')
-rw-r--r-- | httemplate/edit/allocate.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/httemplate/edit/allocate.html b/httemplate/edit/allocate.html new file mode 100644 index 000000000..29c16ae6a --- /dev/null +++ b/httemplate/edit/allocate.html @@ -0,0 +1,26 @@ +<% include('elements/edit.html', + 'name' => 'Allocation', + 'table' => 'addr_block', + 'labels' => { 'NetAddr' => 'Block', + 'routernum' => 'Router', + }, + 'fields' => [ { 'field' => 'NetAddr', + 'type' => 'fixed', + }, + { 'field' => 'routernum', + 'type' => 'select-table', + 'table' => 'router', + 'name_col' => 'routername', + 'disable_empty' => 1, + }, + ], + 'post_url' => "process/addr_block/allocate.cgi", + 'popup' => 1, + ) +%> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + +</%init> |