{% extends 'base.html.twig' %} {% block body %} {{ post.title }} {{ post.publishedAt | date('d/m/Y') }} par {{ post.author }} {{ post.content }} Commentaires non lus({{ post.comments | length }}) {{ form_start(form) }} {{ form_row(form.author) }} {{ form_row(form.content) }} Envoyer {{ form_end(form) }} {% for comment in post.comments %} {{ comment.author }} {{ comment.content }} {{ comment.postedAt | date ('d/m/Y') }} Supprimer RĂ©pondre {% endfor %} Older Newer {% endblock %}
{{ post.publishedAt | date('d/m/Y') }} par {{ post.author }}
{{ post.content }}