{% extends 'base.html.twig' %} {% block title %}Liste des catégories{% endblock %} {% block stylesheets %} {{parent()}} {% endblock %} {% block body %} {# affichage du formulaire #} {{ render(controller("App\\Controller\\Admin\\AdminController::navbarLeftAdmin")) }}

Liste des catégories

{% for category in categories %}
{% for subCategory in category.subCategories %} {% endfor %}
{% endfor %}
{% endblock %}