{% comment %} <div class="table-responsive mb-2">
    <table class="datatable-show-all table">
        <thead class="{{ class }}">
        <tr>
           
            <th style="width: 300px!important;">Nom</th>
            <th style="width: 250px!important;">Prénom</th>
            <th style="width: 100px!important;">Email</th>
            <th style="width: 100px!important;">Téléphone</th>
            <th style="width: 100px!important;">Status</th>
            <th style="width: 100px!important;">Actions</th>
        </tr>
        </thead>
        <tbody>
        {% set total = 0 %}
        {% for demarcheur in demarcheurs %}
            <tr>
                
                <td>{{ demarcheur.nom }}</td>
                <td>{{ demarcheur.prenom }}</td>
                <td>{{ demarcheur.email }}</td>
                <td>{{ demarcheur.telephone }}</td>
                <td>
                    <div class="custom-control custom-switch">
                        <input type="checkbox" data-id="{{ demarcheur.id }}"
                               class="custom-control-input js-status-input"
                               id="status-{{ demarcheur.id }}" {% if demarcheur.active %}checked{% endif %}>
                        <label class="custom-control-label position-static p-0" for="status-{{ demarcheur.id }}"></label>
                    </div>
               
                <td style="text-align: center!important;display: flex; flex-direction: row; justify-content: center; align-items: center;">
                    <div class="list-icons">
                        <div class="dropdown">
                            <a href="javascript:" class="list-icons-item" data-toggle="dropdown">
                                <i class="icon-menu9"></i>
                            </a>
                            <div class="dropdown-menu dropdown-menu-right">
                                {{ action_form(demarcheur, path('admin.demarcheurs.edit', {'id': demarcheur.id}), 'Modifier', 'icon-pencil5') }}
                               
                                   
                                    {{ action_form(demarcheur, path('admin.demarcheurs.export', {'id': demarcheur.id}), 'Exporter en excel', 'icon-file-excel') }}
                                
                                {{ delete_form(demarcheur, path('admin.demarcheurs.delete', {'id': demarcheur.id}), 'Etes vous sûr de vouloir supprimer cet demarcheur?', 'Supprimer') }}
                            </div>
                        </div>
                    </div>
                </td>
            </tr>
           
        {% else %}
            <tr>
                <td colspan="6">{{ data_none }}</td>
            </tr>
        {% endfor %}
        </tbody>
       
    </table>
</div> {% endcomment %}
