<div id="sylius-coupon cart-coupon" class="cart-coupon" {{ sylius_test_html_attribute('cart-promotion-coupon') }}>
    <label for="sylius_cart_promotionCoupon">{{ 'app.ui.cart.coupon'|trans }}</label>
    <div class="input-group">
        {{ form_widget(form.promotionCoupon, sylius_test_form_attribute('cart-promotion-coupon-input')|sylius_merge_recursive({'attr': {'form': main_form, 'placeholder': 'sylius.ui.enter_your_code'|trans~'...'}})) }}

        <div class="input-group-append">
            <button type="submit" id="sylius-save" {{ sylius_test_html_attribute('apply-coupon-button') }} class="btn btn-primary btn-square" form="{{ main_form }}">
                {{ 'sylius.ui.apply_coupon'|trans }}
            </button>
        </div>
    </div>
    {{ form_errors(form.promotionCoupon) }}
</div>
