blob: eddbfc16ea6bad8cffbd9c5346f507743cf9ad3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<% include( 'elements/edit.html',
'name' => 'Package Class',
'table' => 'pkg_class',
'fields' => [
'classname',
{ field=>'disabled', type=>'checkbox', value=>'Y', },
],
'labels' => {
'classnum' => 'Class number',
'classname' => 'Class name',
'disabled' => 'Disable class',
},
'viewall_dir' => 'browse',
)
%>
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
</%init>
|