X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fpkg_category.html;h=3be74c7f55f86d5366ab419aecadb330d548886c;hb=0e845fa6f04733d82ea8ca092c7778aef773ab5d;hp=a07dc58429b40b92ddfbaae759b23dd49f9c9717;hpb=947c1f964f1304242f8a6ffabacccf040f1d505e;p=freeside.git diff --git a/httemplate/edit/pkg_category.html b/httemplate/edit/pkg_category.html index a07dc5842..3be74c7f5 100644 --- a/httemplate/edit/pkg_category.html +++ b/httemplate/edit/pkg_category.html @@ -1,24 +1,28 @@ <% include( 'elements/edit.html', - 'name' => 'Package Category', + 'name_singular' => 'Package Category', 'table' => 'pkg_category', '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 = @_; +