{% extends 'layout-without-menu.twig' %}

{% block header %}
{% endblock %}

{% block body %}

    {% if error %}
        <div class="error">
            {{ error }}
        </div>
    {% else %}
        <script >
            window.top.location.href = "{{ path('Panier.Panier.index') }}"; 
        </script>
    {% endif %}

{% endblock %}