<h2 class="cell--title">Paniers</h2>
<div>
  {% for basket in json.data %}
    <h3 class="theme-basket--title">{{ basket.text }}</h3>
    {% for item in basket.lignes %}
      <div class="theme-basket--item">
        <div class="theme-basket--item-details">
          <div class="theme-basket--item-activity">{{ item.inscription.libAct }}</div>
          <div class="theme-basket--item-unit">{{ item.inscription.libUnit }}</div>
          <div class="theme-basket--item-name">{{ item.personneInfo.firstname }}</div>
          <div class="theme-basket--item-location">{{ item.inscription.libLieu }}</div>
          <div class="theme-basket--item-date">Du {{ item.inscription.dateDeb|date:'d/m/Y' }} au {{ item.inscription.dateFin|date:'d/m/Y' }}</div>
        </div>
        <div class="theme-basket--item-summary">
          <div class="theme-basket--item-price">{{ item.montant|default:'---' }}€</div>
          <div class="theme-basket--item-actions">
            <form method="POST" action="{{ site_base }}{% url 'combo-public-ajax-page-cell' page_pk=cell.page.id cell_reference=cell.get_reference %}">
              <input type="hidden" name="action" value="delete-line">
              <input type="hidden" name="basket_id" value="{{ basket.id }}">
              <input type="hidden" name="line_id" value="{{ item.id }}">
              <button class="theme-basket--delete-button" aria-label="Supprimer la ligne" title="Supprimer la ligne"></button>
            </form>
          </div>
        </div>
      </div>
    {% endfor %}
    <div class="theme-basket--footer">
      <form method="POST" action="{{ site_base }}{% url 'combo-public-ajax-page-cell' page_pk=cell.page.id cell_reference=cell.get_reference %}">
        <input type="hidden" name="action" value="delete">
        <input type="hidden" name="basket_id" value="{{ basket.id }}">
        <button class="theme-basket--empty-button">Vider le Panier</button>
      </form>
      <form method="POST" action="{{ site_base }}{% url 'combo-public-ajax-page-cell' page_pk=cell.page.id cell_reference=cell.get_reference %}">
        <input type="hidden" name="action" value="validate">
        <input type="hidden" name="basket_id" value="{{ basket.id }}">
        <button class="theme-basket--validate-button">Valider</button>
      </form>
    </div>
  {% endfor %}
</div>
