mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
do not show action when editing goals
This commit is contained in:
@@ -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',
|
||||
|
Reference in New Issue
Block a user