diff options
Diffstat (limited to 'httemplate/edit/hardware_status.html')
-rw-r--r-- | httemplate/edit/hardware_status.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/httemplate/edit/hardware_status.html b/httemplate/edit/hardware_status.html new file mode 100644 index 000000000..23e5b6eba --- /dev/null +++ b/httemplate/edit/hardware_status.html @@ -0,0 +1,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> |