{% set enabled = order.payments|length %}

<div class="checkout-navigation">
    {% if sylius_is_shipping_required(order) %}
        <a href="{{ path('sylius_shop_checkout_select_shipping') }}" class="btn btn-lg btn-secondary">
            <i class="fa fa-arrow-left"></i>&nbsp;{{ 'sylius.ui.change_shipping_method'|trans }}
        </a>
    {% else %}
        <a href="{{ path('sylius_shop_checkout_address') }}" class="btn btn-lg btn-secondary">
            <i class="fa fa-arrow-left"></i>&nbsp;{{ 'sylius.ui.change_address'|trans }}
        </a>
    {% endif %}

    <button type="submit" id="next-step" class="btn btn-lg btn-primary{% if not enabled %} disabled{% endif %} button" {{ sylius_test_html_attribute('next-step') }}>
        {{ 'sylius.ui.next'|trans }}&nbsp;<i class="fa fa-arrow-right"></i>
    </button>
</div>
