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',
|
||||
'input' => 'datetime_immutable',
|
||||
])
|
||||
->add('nationality', CountryType::class, [
|
||||
'label' => 'Nationalität',
|
||||
'property' => 'nationality',
|
||||
'preferred_choices' => ['D', 'A', 'CH'],
|
||||
])
|
||||
->add('street', TextType::class, [
|
||||
'label' => 'Straße',
|
||||
'property_path' => 'address.street',
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
{{ form_row(personalDataForm.name) }}
|
||||
{{ form_row(personalDataForm.gender) }}
|
||||
{{ form_row(personalDataForm.dateOfBirth) }}
|
||||
{{ form_row(personalDataForm.nationality) }}
|
||||
</div>
|
||||
<h3 class="text-xl font-semibold pb-2">
|
||||
Anschrift
|
||||
|
||||
Reference in New Issue
Block a user