{% extends 'partials/base.html.twig' %} {% if admin.route %} {% set user = admin.data('users/' ~ admin.route) %} {% endif %} {% block titlebar %} {% if not admin.route %}
{{ "PLUGIN_ADMIN.ADD_ACCOUNT"|tu }}

Users

{% else %}
{{ "PLUGIN_ADMIN.BACK"|tu }}

{{ "PLUGIN_ADMIN.USER"|tu }}: {{ user.username|e }}

{% endif %} {% endblock %} {% block content %}
{% include 'partials/messages.html.twig' %} {% if not admin.route %} {% include 'partials/users-list.html.twig' %}
{% include 'partials/blueprints-new.html.twig' with { blueprints: admin.blueprints('user/account_new') } %}
{% else %} {% include 'partials/users-details.html.twig' %} {% endif %}
{% endblock %}