blob: 23e5b6ebab46dfd2ac71cd86b3de176cf5a07dd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<% include( 'elements/edit.html',
'name_singular' => 'Hardware Status',
'table' => 'hardware_status',
'labels' => {
'statusnum' => 'Status number',
'label' => 'Description' ,
'disabled' => 'Disable status'
},
'fields' => [
'label',
{ field => 'disabled',
type => 'checkbox',
value => 'Y',
},
],
'viewall_dir' => 'browse',
)
%>
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
</%init>
|