{% 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 sous-catégories

{% for subCategory in subCategories %}
{{ subCategory.name }}
{% endfor %}
{% endblock %}