{% import '@LcShop/backend/default/block/macros.html.twig' as macros %}

<div class="row">
    <div class="col-8">
    {{ macros.card_start('Merchant.email','light') }}
        <div class="col-12">
            {{ form_row(form.merchantConfigs['email-subject-prefix']) }}
        </div>
        <div class="col-12">
            {{ form_row(form.merchantConfigs['email-from']) }}
        </div>
        <div class="col-12">
            {{ form_row(form.merchantConfigs['email-from-name']) }}
        </div>
        <div class="col-12">
            {{ form_row(form.merchantConfigs['email-subject-prefix']) }}
        </div>
        <div class="col-12">
            {{ form_row(form.merchantConfigs['email-contact']) }}
        </div>
        {% if form.merchantConfigs['email-from-purchase-order'] is defined %}
        <div class="col-12">
            {{ form_row(form.merchantConfigs['email-from-purchase-order']) }}
        </div>
        {% endif %}
        {% if form.merchantConfigs['purchase-order-email-content'] is defined %}
            <div class="col-12">
                {{ form_row(form.merchantConfigs['purchase-order-email-content']) }}
            </div>
        {% endif %}
    {{ macros.card_end() }}
    </div>
</div>
