thirdparty: firstname after name in form

This commit is contained in:
Julien Fastré 2022-03-24 19:18:29 +01:00
parent 5d7943f871
commit 1031f0d40e
2 changed files with 12 additions and 11 deletions

View File

@ -3,11 +3,12 @@
{{ form_row(form.civility) }} {{ form_row(form.civility) }}
{% endif %} {% endif %}
{{ form_row(form.name) }}
{% if form.firstname is defined %} {% if form.firstname is defined %}
{{ form_row(form.firstname) }} {{ form_row(form.firstname) }}
{% endif %} {% endif %}
{{ form_row(form.name) }}
{% if form.nameCompany is defined %} {% if form.nameCompany is defined %}
{{ form_row(form.nameCompany) }} {{ form_row(form.nameCompany) }}

View File

@ -2,25 +2,25 @@
{% block _third_party_active_children_entry_widget %} {% block _third_party_active_children_entry_widget %}
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="form-group col-md-3 mb-3"> <div class="form-group col-md-6 mb-3">
{{ form_widget(form.civility) }} {{ form_widget(form.civility) }}
{{ form_errors(form.civility) }} {{ form_errors(form.civility) }}
{{ form_label(form.civility) }} {{ form_label(form.civility) }}
</div> </div>
<div class="form-group col-md-5 mb-3"> <div class="form-group col-md-6 mb-3">
{{ form_widget(form.firstname) }} {{ form_widget(form.profession) }}
{{ form_errors(form.firstname) }} {{ form_errors(form.profession) }}
{{ form_label(form.firstname) }} {{ form_label(form.profession) }}
</div> </div>
<div class="form-group col-md-5 mb-3"> <div class="form-group col-md-6 mb-3">
{{ form_widget(form.name) }} {{ form_widget(form.name) }}
{{ form_errors(form.name) }} {{ form_errors(form.name) }}
{{ form_label(form.name) }} {{ form_label(form.name) }}
</div> </div>
<div class="form-group col-md-4 mb-3"> <div class="form-group col-md-6 mb-3">
{{ form_widget(form.profession) }} {{ form_widget(form.firstname) }}
{{ form_errors(form.profession) }} {{ form_errors(form.firstname) }}
{{ form_label(form.profession) }} {{ form_label(form.firstname) }}
</div> </div>
</div> </div>
<div class="row"> <div class="row">