{% extends '@App/dashboard/settings/base.html.twig' %}
{% form_theme form '@ui2022/schoolnow/forms/themes/default.html.twig' %}
{% block header %}
{% embed '@ui2022/page__header.html.twig' with {
title: 'User accounts',
} %}
{% block actions %}
{% include '@ui2022/button--a.html.twig' with {
text: '+ Add user',
styles: 'gray',
link: path('app.app.dashboard.settings.accounts.create'),
modal: 'modal__result',
} %}
{% endblock %}
{% endembed %}
{% endblock %}
{% block content %}
<div class="row">
<div class="col">
{% include '@App/dashboard/settings/accounts/includes/_filter.html.twig' %}
<div id="{{ form.vars.id }}__results" class="user-table">
{% include '@App/dashboard/settings/accounts/includes/_results.html.twig' with {
sidepanel: 'sidepanel__result_view',
} %}
</div>
</div>
</div>
{% endblock %}
{% block modals %}
{{ parent() }}
{% include '@ui2022/modal.html.twig' with {
attr: {
id: 'modal__result',
class: 'modal-ajax modal-delete',
},
dialog_styles: 'dialog--createmsg',
} %}
{% include '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
attr: {
id: 'sidepanel__result_view',
class: 'sidepanel-user'
},
preserveScroll: true,
} %}
{% endblock %}