{% extends 'layout_admin.html.twig' %} {% block content %} {% include 'flashes.html.twig' %}
{% include 'sort.html.twig' with { 'col' : 'q.id', 'name': 'form.id' } %} | {% include 'sort.html.twig' with { 'col' : 'q.created_at', 'name': 'form.created_at' } %} | {% include 'sort.html.twig' with { 'col' : 'q2.id', 'name': 'form.user' } %} | {% include 'sort.html.twig' with { 'col' : 'q.quoi', 'name': 'form.quoi' } %} | |
---|---|---|---|---|
{{ entity.id }} | {{ entity.createdAt | date('d/m/Y à H:i:s') }} | {% if not entity.user is empty %} {{ entity.user }} {% else %} {{ entity.qui }} {% endif %} | {{ entity.quoi | nl2br }} |