many corrections in twig templates

This commit is contained in:
2021-07-14 21:01:46 +02:00
parent d35553a1e2
commit 82c79a17dd
17 changed files with 887 additions and 812 deletions

View File

@@ -24,7 +24,7 @@
<div class="col-md-10 col-xxl">
<div class="warning flash_message">
<div class="alert alert-warning flash_message">
<span>
{% transchoice alternatePersons|length with { '%nb%': alternatePersons|length } %}
%nb% person with similar name. Please verify that this is a new person
@@ -33,7 +33,7 @@
</div>
{% if alternatePersons is not empty %}
<table>
<table class="table table-bordered border-dark">
<thead>
<tr>
<th class="chill-red">{{ 'Name'|trans }}</th>
@@ -63,7 +63,7 @@
</table>
{% endif %}
<div id="person_details">
<div id="person_details" class="my-5">
{{ form_start(form) }}
<h2>{{ 'You will create this person'|trans }}</h2>
<dl>
@@ -84,11 +84,13 @@
{{ form_widget(form.altNames) }}
{% endif %}
</dl>
{{ form_rest(form) }}
<button class="btn btn-create change-icon" type="submit"><i class="fa fa-check"></i> {{ 'Confirm the creation'|trans }}</button>
<button class="btn btn-submit" type="submit"><i class="fa fa-check"></i> {{ 'Confirm the creation'|trans }}</button>
{{ form_end(form) }}
</div>
</div>
</div>
</div>
{% endblock content %}