Commit fc237c0e authored by Mat's avatar Mat
Browse files

règle les getBlockPrefix pour éviter le bug précédent

parent 7c10f017
......@@ -77,8 +77,8 @@ class AssociationType extends AbstractType
*/
public function getBlockPrefix()
{
return parent::getBlockPrefix();
//return "asso";
//return parent::getBlockPrefix();
return "asso";
// Fixer le nom du formulaire.
// Souvent le javascript se base dessus, c'est donc important de le contrôler.
}
......
......@@ -109,4 +109,12 @@ class MembreType extends AbstractType
));
}
/**
*
*/
public function getBlockPrefix()
{
return "membre";
}
}
......@@ -47,7 +47,15 @@ class OwnerType extends AbstractType
$resolver->setDefault('data_class', Owner::class);
}
/**
*
*/
public function getBlockPrefix()
{
return "owner";
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment