X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fpkg_category.html;h=3be74c7f55f86d5366ab419aecadb330d548886c;hb=e0a26680d75fc2000bde195eba7946805a3aaa28;hp=fdc8da638193fc848c92981cb14226545c059876;hpb=f13afe5e228a220311557e1ca6dacbf847c26baf;p=freeside.git diff --git a/httemplate/edit/pkg_category.html b/httemplate/edit/pkg_category.html index fdc8da638..3be74c7f5 100644 --- a/httemplate/edit/pkg_category.html +++ b/httemplate/edit/pkg_category.html @@ -1,22 +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', - 'disabled' => 'Disable category', + 'weight' => 'Weight', + '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 = @_; +