Updated user settings page and user forms

This commit is contained in:
2023-06-01 10:59:51 +01:00
parent fc707b1abf
commit a4da55aa47
15 changed files with 386 additions and 1 deletions

View File

@@ -0,0 +1,46 @@
{% extends "@admin/forms/user.html.twig" %}
{% block user_form %}
{% if 'user_name' not in form.fields.hidden %}
<div class="col-sm-6">
{% include "forms/partials/input-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" %}
</div>
{% endif %}
{% if 'name' not in form.fields.hidden %}
<div class="col-sm-6">
{% include "forms/partials/input-first_name.html.twig" %}
</div>
<div class="col-sm-6">
{% include "forms/partials/input-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" %}
</div>
{% endif %}
{% if 'theme' not in form.fields.hidden %}
<div class="col-sm-6">
{% include "forms/partials/input-theme.html.twig" %}
</div>
{% endif %}
{% if 'locale' not in form.fields.hidden %}
<div class="col-sm-6">
{% include "forms/partials/input-locale.html.twig" %}
</div>
{% endif %}
{% if 'password' not in form.fields.hidden %}
{% include "forms/partials/user-set-password.html.twig" %}
{% endif %}
{% endblock %}