Made the partials explicit in their section (i.e. user)

This commit is contained in:
2023-06-01 11:16:59 +01:00
parent a4da55aa47
commit e559d4380b
16 changed files with 76 additions and 76 deletions

View File

@@ -3,40 +3,40 @@
{% block user_form %}
{% if 'user_name' not in form.fields.hidden %}
<div class="col-sm-6">
{% include "forms/partials/input-user_name.html.twig" %}
{% include "forms/partials/input-user-user_name.html.twig" %}
</div>
{% endif %}
{% if 'group' not in form.fields.hidden %}
<div class="col-sm-6">
{% include "forms/partials/input-group.html.twig" %}
{% include "forms/partials/input-user-group.html.twig" %}
</div>
{% endif %}
{% if 'name' not in form.fields.hidden %}
<div class="col-sm-6">
{% include "forms/partials/input-first_name.html.twig" %}
{% include "forms/partials/input-user-first_name.html.twig" %}
</div>
<div class="col-sm-6">
{% include "forms/partials/input-last_name.html.twig" %}
{% include "forms/partials/input-user-last_name.html.twig" %}
</div>
{% endif %}
{% if 'email' not in form.fields.hidden %}
<div class="col-sm-6">
{% include "forms/partials/input-email.html.twig" %}
{% include "forms/partials/input-user-email.html.twig" %}
</div>
{% endif %}
{% if 'theme' not in form.fields.hidden %}
<div class="col-sm-6">
{% include "forms/partials/input-theme.html.twig" %}
{% include "forms/partials/input-user-theme.html.twig" %}
</div>
{% endif %}
{% if 'locale' not in form.fields.hidden %}
<div class="col-sm-6">
{% include "forms/partials/input-locale.html.twig" %}
{% include "forms/partials/input-user-locale.html.twig" %}
</div>
{% endif %}