fix: add missing field for nationality in personal data form
This commit is contained in:
@@ -36,6 +36,11 @@ class PersonalDataType extends AbstractType
|
|||||||
'widget' => 'single_text',
|
'widget' => 'single_text',
|
||||||
'input' => 'datetime_immutable',
|
'input' => 'datetime_immutable',
|
||||||
])
|
])
|
||||||
|
->add('nationality', CountryType::class, [
|
||||||
|
'label' => 'Nationalität',
|
||||||
|
'property' => 'nationality',
|
||||||
|
'preferred_choices' => ['D', 'A', 'CH'],
|
||||||
|
])
|
||||||
->add('street', TextType::class, [
|
->add('street', TextType::class, [
|
||||||
'label' => 'Straße',
|
'label' => 'Straße',
|
||||||
'property_path' => 'address.street',
|
'property_path' => 'address.street',
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
{{ form_row(personalDataForm.name) }}
|
{{ form_row(personalDataForm.name) }}
|
||||||
{{ form_row(personalDataForm.gender) }}
|
{{ form_row(personalDataForm.gender) }}
|
||||||
{{ form_row(personalDataForm.dateOfBirth) }}
|
{{ form_row(personalDataForm.dateOfBirth) }}
|
||||||
|
{{ form_row(personalDataForm.nationality) }}
|
||||||
</div>
|
</div>
|
||||||
<h3 class="text-xl font-semibold pb-2">
|
<h3 class="text-xl font-semibold pb-2">
|
||||||
Anschrift
|
Anschrift
|
||||||
|
|||||||
Reference in New Issue
Block a user