summaryrefslogtreecommitdiff
path: root/httemplate/edit/hardware_status.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/hardware_status.html')
-rw-r--r--httemplate/edit/hardware_status.html24
1 files changed, 16 insertions, 8 deletions
diff --git a/httemplate/edit/hardware_status.html b/httemplate/edit/hardware_status.html
index ee5f25db8..23e5b6eba 100644
--- a/httemplate/edit/hardware_status.html
+++ b/httemplate/edit/hardware_status.html
@@ -1,12 +1,20 @@
<% include( 'elements/edit.html',
- 'name' => 'Hardware Status',
- 'table' => 'hardware_status',
- 'labels' => {
- 'statusnum' => 'Status number',
- 'label' => 'Description' ,
- },
- 'viewall_dir' => 'browse',
- )
+ '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>