{% extends 'base.html.twig' %}

{% block title %}Dernières modifications{% endblock %}

{% block body %}
    <h1>Dernières modifications</h1>


    <div class="row">
        <div class="col-12 col-md-6 ">
            <h2>Lieux modifiés</h2> 
              <table class="table table-striped table-hover table-responsive table-sort">
                  <thead>
                      <tr>
                          <th>Nom</th>
                          <th>Tag</th>
                          <th>Email</th>
                          <th>Date de modification</th>
                          <th>Date de dernier contact</th>
                          <th>Date de dernière modification</th>
                          <th>Code postal</th>
                          <th>Actions</th>
              
                      </tr>
                  </thead>
                  <tbody>
                      {% for place in places_modified %}
                            {% include 'public/place/row.html.twig' %}
                      {% endfor %}
                  </tbody>
              </table> 

        </div>
        <div class="col-12 col-md-6 ">
            <h2>Lieux affichés</h2>
              <table class="table table-striped table-hover table-responsive table-sort">
                  <thead>
                      <tr>
                          <th>Nom</th>  
                          <th>Tag</th>
                          <th>Email</th>
                          <th>Date de dernière modification</th>
                          <th>Date de dernier contact</th>
                          <th>Date de dernière modification</th>
                          <th>Code postal</th>
                          <th>Actions</th>  
                      </tr>
                  </thead>
                  <tbody>
                      {% for place in places_displayed %}
                            {% include 'public/place/row.html.twig' %}
                      {% endfor %}  
                  </tbody>
              </table> 
        </div>
    </div>
{% endblock %}

