do not show action when editing goals

This commit is contained in:
2022-05-27 16:41:38 +02:00
parent 71a92a8b6b
commit d4aba04a52
2 changed files with 0 additions and 18 deletions

View File

@@ -43,17 +43,6 @@ class GoalType extends AbstractType
->add('title', TranslatableStringFormType::class, [
'label' => 'Nom',
])
->add('socialActions', EntityType::class, [
'class' => SocialAction::class,
'required' => false,
'multiple' => true,
'choice_label' => function (SocialAction $issue) {
return $this->translatableStringHelper->localize($issue->getTitle());
},
'attr' => ['class' => 'select2 '],
])
->add('results', EntityType::class, [
'class' => Result::class,
'required' => false,
@@ -63,7 +52,6 @@ class GoalType extends AbstractType
},
'attr' => ['class' => 'select2 '],
])
->add('desactivationDate', ChillDateType::class, [
'required' => false,
'label' => 'goal.desactivationDate',