{% extends 'base.html.twig' %} {% block title %}Nos fiert├ęs{% endblock %} {% block body %} {% for success in successes %} {% if loop.index %2 == 1 %}

{{ success.title }}

Le {{ success.createdAt|date('d/m/Y') }}

{{ success.subTitle }}

{{ success.content | raw }}

{{ success.comments.author.fullName }}

{{ success.comments.content | raw }}

Le {{ success.comments.createdAt |date('d/m/Y') }}

{% else %}
{{ success.comments.author.fullName }}

{{ success.comments.content | raw }}

Le {{ success.comments.createdAt|date('d/m/Y') }}

{{ success.title }}

Le {{ success.createdAt|date('d/m/Y')}}

{{ success.subTitle }}

{{ success.content | raw }}

{% endif %} {% endfor %} {% endblock %}