<div class="ctn order-steps-ctn">
<ul id="order-steps" class="cf">
<li class="first {% if step > 1 %}on{% endif %} {% if step == 1 %}current{% endif %} step-1"><a href="{{ path('cart_details') }}"><span></span>{% trans %}Panier{% endtrans %}</a></li>
<li class="{% if step > 2 %}on{% endif %} {% if step == 2 %}current{% endif %} step-2"><a {% if step > 2 and not (step == 4) %}href="{{ path('checkout_shipping') }}"{% endif %}><span></span>{% trans %}Livraison / Devis{% endtrans %}</a></li>
<li class="{% if step > 3 %}on{% endif %} {% if step == 3 %}current{% endif %} step-3"><a {% if step > 3 and not (step == 4) %}href="{{ path('checkout_payment') }}"{% endif %}><span></span>{% trans %}Paiement / Devis{% endtrans %}</a></li>
<li class="{% if step > 4 %}on{% endif %} {% if step == 4 %}current{% endif %} step-4"><a {% if step > 4 and not (step == 5) %}href="{{ path('checkout_review') }}"{% endif %}><span></span>{% trans %}Récapitulatif{% endtrans %}</a></li>
<li class="last {% if step == 5 %}current{% endif %} step-5"><a><span></span>{% trans %}Confirmation{% endtrans %}</a></li>
</ul>
{% set url = path('cart_details') %}
{% if step == 4 %}
{% set url = path('checkout_payment') %}
{% elseif step == 3 %}
{% set url = path('checkout_shipping') %}
{% endif %}
<a class="mobile bt-back" href="{{ url }}">< {% trans %}Etape précédente{% endtrans %}</a>
</div>