{% extends "base.html.twig" %} {% block title 'Test comment on page' %} {% block body %} Test comment on page {% for message in app.flashes('success') %} {{ message }} {% endfor %} Ajouter un commentaire {% include "pages/form/_formComment.html.twig" with {form: form} only %} Liste commentaire {% for comment in comments %} {{ comment.comment|nl2br }} {% endfor %} Partie 2 {% endblock %}
Test comment on page