Made the partials explicit in their section (i.e. user)
This commit is contained in:
@@ -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 %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user