Added forms to change EDA infos of footprints and categories

This commit is contained in:
Jan Böhmer 2023-12-01 22:47:05 +01:00
parent b5c7a789a2
commit 30b2c8b841
8 changed files with 203 additions and 9 deletions

View file

@ -23,6 +23,8 @@ declare(strict_types=1);
namespace App\Form\AdminPages;
use App\Entity\Base\AbstractNamedDBElement;
use App\Entity\EDA\EDAFootprintInfo;
use App\Form\Part\EDA\EDAFootprintInfoType;
use App\Form\Type\MasterPictureAttachmentType;
use Symfony\Component\Form\FormBuilderInterface;
@ -37,5 +39,11 @@ class FootprintAdminForm extends BaseEntityAdminForm
'filter' => '3d_model',
'entity' => $entity,
]);
//EDA info
$builder->add('eda_info', EDAFootprintInfoType::class, [
'label' => false,
'required' => false,
]);
}
}