{% extends 'layout_admin.html.twig' %} {% block content %} {% include 'flashes.html.twig' %}
{{ form_row(form_filter.user) }}
{{ form_row(form_filter.quoi) }}
{{ form_row(form_filter.dateDebut) }}
{{ form_row(form_filter.dateFin) }}

{% for entity in pager.currentPageResults %} {% endfor %}
{% 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 }}
{{ pager.getNbResults }} {% trans %}pagination.results{% endtrans %}
{% if pager.haveToPaginate %}
{{ pagerfanta(pager, 'twitter_bootstrap3', {'prev_message': 'Previous'|trans, 'next_message': 'Next'|trans}) }}
{% endif %}
{% endblock %} {% block my_js %} {{ parent() }} {{ encore_entry_script_tags('admin_logWS_index') }} {% endblock %}