<div class="voucher">
    {{#if title}}
        {{> checkout-section-title}}
    {{/if}}
    <div class="checkout-widget checkout-voucher checkout-voucher_fixed">
        <form id="form-checkout-voucher{{id}}">
            {{> form-row id=(concat 'voucher-code' id) label="Voucher" label-hidden="true" required="true" placeholder="Enter code"}}
            <button class="voucher__btn btn btn-secondary btn_full">
                <span class="btn__text">Apply</span>
            </button>
        </form>
    </div>
    {{#unless voucherApplied}}
        <div class="checkout-widget checkout-voucher voucher-applied checkout-voucher-hide">
            <i class="fas fa-check-circle"></i>
            <h3 class="heading-3 text-center">Voucher has been applied</h3>
        </div>
    {{/unless}}
</div>
