% 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>