{# This file is part of the Sonata package. (c) Thomas Rabaix For the full copyright and license information, please view the LICENSE file that was distributed with this source code. #} {% block content %} {% set _list_table = block('list_table') is defined ? block('list_table')|trim : null %} {% set _list_filters = block('list_filters') is defined ? block('list_filters')|trim : null %} {% set _list_filters_actions = block('list_filters_actions') is defined ? block('list_filters_actions')|trim : null %} {% block preview %}{% endblock %} {% block form %}{% endblock %} {% block list %}{% endblock %} {% block show %}{% endblock %} {% if _list_table is not empty or _list_filters is not empty %}
{% if _list_filters|trim %}
{{ _list_filters|raw }}
{% endif %}
{{ _list_table|raw }}
{% endif %} {% endblock %}