Updated user settings page and user forms
This commit is contained in:
46
templates/forms/user.html.twig
Normal file
46
templates/forms/user.html.twig
Normal 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 %}
|
||||
Reference in New Issue
Block a user