Discussion — {{ conversation.enfant.prenom }}
Parent : {{ conversation.parent.nom ?? conversation.parent.email }}
{% for m in messages %}
{{ m.author.id == app.user.id ? 'Moi' : 'Parent' }}
— {{ m.createdAt|date('d/m/Y H:i') }}
{% if m.type == 'IMPORTANT' %}
Instruction
{% endif %}
{{ m.body|nl2br }}
{% endfor %}
Répondre
{{ form_start(form) }}
{{ form_row(form.body) }}
{{ form_end(form) }}
{% if pages > 1 %}
{% endif %}