28 lines
784 B
Twig
28 lines
784 B
Twig
{#
|
|
|
|
This file is part of the Sonata package.
|
|
|
|
(c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
|
|
|
|
For the full copyright and license information, please view the LICENSE
|
|
file that was distributed with this source code.
|
|
|
|
#}
|
|
|
|
{% extends base_template %}
|
|
|
|
{%- block actions -%}
|
|
{% include 'SonataAdminBundle:CRUD:action_buttons.html.twig' %}
|
|
{%- endblock -%}
|
|
|
|
{% import 'SonataAdminBundle:CRUD:base_acl_macro.html.twig' as acl %}
|
|
|
|
{% block form %}
|
|
{% block form_acl_roles %}
|
|
{{ acl.render_form(aclRolesForm, permissions, 'td_role', admin, sonata_admin.adminPool, object) }}
|
|
{% endblock %}
|
|
{% block form_acl_users %}
|
|
{{ acl.render_form(aclUsersForm, permissions, 'td_username', admin, sonata_admin.adminPool, object) }}
|
|
{% endblock %}
|
|
{% endblock %}
|