@@ -48,9 +48,9 @@ class AddressType extends AbstractType | |||
]) | |||
->add('lastname', TextType::class, ['required' => false]) | |||
->add('firstname', TextType::class, ['required' => false]) | |||
->add('address', TextareaType::class) | |||
->add('zip', TextType::class) | |||
->add('city', TextType::class) | |||
->add('address', TextType::class) | |||
->add('phone', CollectionType::class, [ | |||
'allow_add'=>true, | |||
'allow_delete'=>true, |
@@ -21,15 +21,15 @@ | |||
<div class="col-6"> | |||
{{ form_row(form.firstname) }} | |||
</div> | |||
<div class="col-12"> | |||
{{ form_row(form.address) }} | |||
</div> | |||
<div class="col-6"> | |||
{{ form_row(form.zip) }} | |||
</div> | |||
<div class="col-6"> | |||
{{ form_row(form.city) }} | |||
</div> | |||
<div class="col-12"> | |||
{{ form_row(form.address) }} | |||
</div> | |||
<div class="col-12"> | |||
{{ form_row(form.phone) }} | |||
</div> | |||
@@ -57,6 +57,12 @@ | |||
<div class="col-6"> | |||
{{ form_row(form.longitude) }} | |||
</div> | |||
<div class="col-6"> | |||
{{ form_row(form.latitudeOverride) }} | |||
</div> | |||
<div class="col-6"> | |||
{{ form_row(form.longitudeOverride) }} | |||
</div> | |||
{{ form_row(form.country) }} | |||