replace comment by commentEmbeddable

This commit is contained in:
2021-06-15 10:17:53 +02:00
parent f827e50431
commit efdfd10e49
6 changed files with 132 additions and 30 deletions

View File

@@ -3,7 +3,7 @@
namespace Chill\PersonBundle\Form;
use Chill\MainBundle\Form\Type\ChillDateType;
use Chill\MainBundle\Form\Type\ChillTextareaType;
use Chill\MainBundle\Form\Type\CommentType;
use Chill\PersonBundle\Entity\Household\Household;
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
use Symfony\Component\Form\AbstractType;
@@ -15,7 +15,7 @@ class HouseholdType extends AbstractType
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
->add('commentMembers', ChillTextareaType::class, [
->add('commentMembers', CommentType::class, [
'label' => 'household.comment_membership',
'required' => false
])