diff --git a/src/Bundle/ChillPersonBundle/Form/CreationPersonType.php b/src/Bundle/ChillPersonBundle/Form/CreationPersonType.php index bb40c6c35..6e6902f82 100644 --- a/src/Bundle/ChillPersonBundle/Form/CreationPersonType.php +++ b/src/Bundle/ChillPersonBundle/Form/CreationPersonType.php @@ -77,12 +77,6 @@ final class CreationPersonType extends AbstractType ->add('email', EmailType::class, [ 'required' => false, ]) - ->add('addressForm', CheckboxType::class, [ - 'label' => 'Create a household and add an address', - 'required' => false, - 'mapped' => false, - 'help' => 'A new household will be created. The person will be member of this household.', - ]) ->add('address', PickAddressType::class, [ 'required' => false, 'mapped' => false, diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Person/create.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Person/create.html.twig index 1ceb84395..b6f487725 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/Person/create.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/Person/create.html.twig @@ -105,11 +105,8 @@ {{ form_row(form.center) }} {% endif %} -
- {{ form_row(form.addressForm) }} -
- {{ form_row(form.address) }} + {{ form_row(form.address, {'label' : 'Address'|trans }) }}