mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Added advanced options to category admin page.
This commit is contained in:
parent
424407f253
commit
314f1ed42f
6 changed files with 292 additions and 15 deletions
|
@ -35,6 +35,7 @@ namespace App\Controller;
|
|||
use App\Entity\AttachmentType;
|
||||
use App\Entity\Category;
|
||||
use App\Form\BaseEntityAdminForm;
|
||||
use App\Form\CategoryAdminForm;
|
||||
use App\Services\EntityExporter;
|
||||
use App\Services\EntityImporter;
|
||||
use App\Services\StructuralElementRecursionHelper;
|
||||
|
@ -53,7 +54,7 @@ class CategoryController extends BaseAdminController
|
|||
|
||||
protected $entity_class = Category::class;
|
||||
protected $twig_template = 'AdminPages/CategoryAdmin.html.twig';
|
||||
protected $form_class = BaseEntityAdminForm::class;
|
||||
protected $form_class = CategoryAdminForm::class;
|
||||
protected $route_base = "category";
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue