<div class="back-btn pb-2">
{% if app.getRequest().attributes.get('_route') == 'user_edit' and harpe is defined and harpe is not null %}
<div class="float-right"><a href="{{ path('harpe_edit', {'id': harpe.getId(), 'usr': user.getToken()}) }}">Etape suivante <img src="{{ asset('img/east_red_24dp.svg') }}" alt="next"></a></div>
{% endif %}
{% if app.getRequest().attributes.get('_route') == 'harpe_edit' %}
{% if user is defined and user.getToken() != null %}<a href="{{ path('user_edit', {'usr': user.getToken()}) }}"><img src="{{ asset('img/west_red_24dp.svg') }}" alt="back"> Etape précédente</a>{% endif %}
{% if user is defined and user.getIban() is not empty %}
<div class="float-right"><a href="{{ path('infos_bancaires', {'usr': user.getToken()}) }}">Etape suivante <img src="{{ asset('img/east_red_24dp.svg') }}" alt="next"></a></div>
{% endif %}
{% endif %}
{% if app.getRequest().attributes.get('_route') == 'harpe_new' %}
{% if user is defined and user.getToken() != null %}<a href="{{ path('user_edit', {'usr': user.getToken()}) }}"><img src="{{ asset('img/west_red_24dp.svg') }}" alt="back"> Etape précédente</a>{% endif %}
{% endif %}
{% if app.getRequest().attributes.get('_route') == 'infos_bancaires' %}
{% if user is defined and user.getToken() != null and harpe is defined and harpe is not null %}<a href="{{ path('harpe_edit', {'id': harpe.getId(), 'usr': user.getToken()}) }}"><img src="{{ asset('img/west_red_24dp.svg') }}" alt="back"> Etape précédente</a>{% endif %}
{% if link_to_next_step is defined %}
<div class="float-right"><a href="{{ link_to_next_step }}">Etape suivante <img src="{{ asset('img/east_red_24dp.svg') }}" alt="next"></a></div>
{% endif %}
{% endif %}
{% if app.getRequest().attributes.get('_route') == 'user_signature' %}
<a href="{{ path('infos_bancaires', {'usr': user.getToken()}) }}"><img src="{{ asset('img/west_red_24dp.svg') }}" alt="back"> Etape précédente</a>
{% if link_to_next_step is defined %}
<div class="float-right"><a href="{{ link_to_next_step }}">Etape suivante <img src="{{ asset('img/east_red_24dp.svg') }}" alt="next"></a></div>
{% endif %}
{% endif %}
{% if app.getRequest().attributes.get('_route') == 'paiement' %}
<a href="{{ path('infos_bancaires', {'usr': user.getToken()}) }}"><img src="{{ asset('img/west_red_24dp.svg') }}" alt="back"> Etape précédente</a>
{% endif %}
</div>