{% extends 'base.html.twig' %} {% block title %}Les contacts{% endblock %} {#{% form_theme form 'bootstrap_4_horizontal_layout.html.twig' %}#} {% block title_page %}Les contacts{% endblock %} {% block container_start %} {% if is_granted("ROLE_SEARCH_CONTACT") %} {#{{form_start(form)}}#}
{#{{form_end(form)}}#} {% endif %}
{#

Nombre de Résultat(s) : {{ nbFind }}

#} {% if is_granted("ROLE_CREATE_CONTACT") %} {% endif %}
{% set i = 1 %} {% for contact in contacts %} {% set i = i + 1 %} {% endfor %}
# Nom Prénom Client Type
{{ contact.id }} {{ contact.name }} {{ contact.firstname }} {{ contact.customer }} {{ contact.type }} {% if is_granted("ROLE_VIEW_CONTACT") %} {% endif %}
{% endblock %}