{#
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.
#}
{#
This template is not used at all, it is just a template that you can use to create
your own custom tree view.
#}
{% extends '@SonataAdmin/CRUD/base_list.html.twig' %}
{% import _self as tree %}
{% macro navigate_child(collection, admin, root) %}
{% for element in collection if not root %}
{% if element.parent %}{% endif %}
{{ element.name }}{{ element.description }}edit
{% if true %}true{% endif %}