summaryrefslogtreecommitdiff
path: root/httemplate/edit/elements/category_Common.html
blob: 8bbdcd15b062e88a87440bb24b4d160b31ae3180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<% include( 'edit.html',
              'fields' => [
                            'categoryname',
                            'weight',
                            { field=>'disabled', type=>'checkbox', value=>'Y', },
                          ],
              'labels' => { 
                            'categorynum'  => 'Category number',
                            'categoryname' => 'Category name',
                            'weight'       => 'Weight',
                            'disabled'     => 'Disable category',
                          },
              'viewall_dir' => 'browse',
              %opt,
           )
%>
<%init>

die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('Configuration');

my %opt = @_;

</%init>