default to a session cookie instead of setting an explicit timeout, weird timezone...
[freeside.git] / httemplate / edit / hardware_status.html
1 <% include( 'elements/edit.html',
2                 'name_singular'   => 'Hardware Status',
3                 'table'  => 'hardware_status',
4                 'labels' => { 
5                               'statusnum' => 'Status number',
6                               'label'     => 'Description' ,
7                               'disabled'  => 'Disable status'
8                             },
9                 'fields' => [
10                               'label',
11                               { field => 'disabled',
12                                 type  => 'checkbox',
13                                 value => 'Y',
14                               },
15                             ],
16                 'viewall_dir' => 'browse',
17           )
18 %>
19 <%init>
20
21 die "access denied"
22   unless $FS::CurrentUser::CurrentUser->access_right('Edit hardware classes and types');
23
24 </%init>