summaryrefslogtreecommitdiff
path: root/httemplate/edit/pkg_category.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/pkg_category.html')
-rw-r--r--httemplate/edit/pkg_category.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/httemplate/edit/pkg_category.html b/httemplate/edit/pkg_category.html
index a07dc5842..20e109383 100644
--- a/httemplate/edit/pkg_category.html
+++ b/httemplate/edit/pkg_category.html
@@ -4,21 +4,25 @@
'fields' => [
'categoryname',
'weight',
+ { field=>'condense', type=>'checkbox', value=>'Y', },
{ field=>'disabled', type=>'checkbox', value=>'Y', },
],
- 'labels' => {
+ 'labels' => {
'categorynum' => 'Category number',
'categoryname' => 'Category name',
'weight' => 'Weight',
- 'disabled' => 'Disable category',
+ 'condense' => 'Collapse identical items to one',
+ 'disabled' => 'Disable category',
},
'viewall_dir' => 'browse',
+ %opt,
)
-
%>
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+my %opt = @_;
+
</%init>