mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
createdBy field deleted from form
This commit is contained in:
parent
a0154331de
commit
e42a5217be
@ -16,13 +16,6 @@ class AsideActivityFormType extends AbstractType
|
|||||||
public function buildForm(FormBuilderInterface $builder, array $options)
|
public function buildForm(FormBuilderInterface $builder, array $options)
|
||||||
{
|
{
|
||||||
$builder
|
$builder
|
||||||
->add('createdBy', EntityType::class,
|
|
||||||
[
|
|
||||||
'label' => 'Utilisateur',
|
|
||||||
'required' => true,
|
|
||||||
'class' => User::class,
|
|
||||||
'choice_label' => 'username'
|
|
||||||
])
|
|
||||||
->add('agent', EntityType::class,
|
->add('agent', EntityType::class,
|
||||||
[
|
[
|
||||||
'label' => 'Agent',
|
'label' => 'Agent',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user