1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<% include( 'elements/edit.html', 'name_singular' => 'Inventory Class', 'table' => 'inventory_class', 'labels' => { 'classnum' => 'Class number', 'classname' => 'Class name', }, 'viewall_dir' => 'browse', ) %> <%init> die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); </%init>