From 91fd4ea0e91ee9e6717e0b12e01eebb8f8b21322 Mon Sep 17 00:00:00 2001 From: mark Date: Fri, 29 Apr 2011 08:58:19 +0000 Subject: svc_dish and svc_hardware fixes, #11454 --- httemplate/edit/hardware_status.html | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'httemplate/edit/hardware_status.html') 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> -- cgit v1.2.1