order of form fields changed

This commit is contained in:
Julie Lenaerts 2022-01-17 14:25:28 +01:00
parent 9a3f35703b
commit 41354097f3

View File

@ -63,7 +63,6 @@
{{ form_start(form, {'attr' : {'id' : 'create-form'}}) }} {{ form_start(form, {'attr' : {'id' : 'create-form'}}) }}
{{ form_row(form.lastName, { 'label' : 'Last name'|trans }) }} {{ form_row(form.lastName, { 'label' : 'Last name'|trans }) }}
{{ form_row(form.firstName, { 'label' : 'First name'|trans }) }} {{ form_row(form.firstName, { 'label' : 'First name'|trans }) }}
@ -72,9 +71,15 @@
{{ form_widget(form.altNames) }} {{ form_widget(form.altNames) }}
{% endif %} {% endif %}
{{ form_row(form.gender, { 'label' : 'Gender'|trans }) }}
{{ form_row(form.birthdate, { 'label' : 'Date of birth'|trans }) }} {{ form_row(form.birthdate, { 'label' : 'Date of birth'|trans }) }}
{{ form_row(form.gender, { 'label' : 'Gender'|trans }) }} {{ form_row(form.phonenumber, { 'label' : 'Phonenumber'|trans }) }}
{{ form_row(form.mobilenumber, { 'label' : 'Mobilenumber'|trans }) }}
{{ form_row(form.email, { 'label' : 'Email'|trans }) }}
{% if form.center is defined %} {% if form.center is defined %}
{{ form_row(form.center) }} {{ form_row(form.center) }}
@ -93,7 +98,7 @@
<li> <li>
{{ form_widget(form.createPeriod, { 'attr': { 'class': 'dropdown-item' }}) }} {{ form_widget(form.createPeriod, { 'attr': { 'class': 'dropdown-item' }}) }}
</li> </li>
</ul> </ul>
</li> </li>
</ul> </ul>