aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-04-20 13:45:09 +0200
committerneodarz <neodarz@neodarz.net>2018-04-20 13:45:09 +0200
commit9f2cb612b2f4a2914d0f09fa9d6ba16d11e0bd2d (patch)
treee06cfab1d97f7e6b15325e410dcf0fb608f63cbd
parent514bd84bdb842765006c32583daafea689c90a77 (diff)
downloadfilmManager-9f2cb612b2f4a2914d0f09fa9d6ba16d11e0bd2d.zip
filmManager-9f2cb612b2f4a2914d0f09fa9d6ba16d11e0bd2d.tar.xz
Remove abilty to edit acteurs in film from actors
-rw-r--r--src/AppBundle/Form/ActeurType.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/AppBundle/Form/ActeurType.php b/src/AppBundle/Form/ActeurType.php
index 6b85943..5b025f8 100644
--- a/src/AppBundle/Form/ActeurType.php
+++ b/src/AppBundle/Form/ActeurType.php
@@ -15,11 +15,7 @@ class ActeurType extends AbstractType
*/
public function buildForm(FormBuilderInterface $builder, array $options)
{
- $builder->add('name')->add('films', EntityType::class, array(
- 'class' => Film::class,
- 'multiple' => true,
- 'expanded' => true,
- ));
+ $builder->add('name');
}/**
* {@inheritdoc}
*/