<div class="ui column stackable grid">
    <div class="column">
        <div class="ui segment">
            <div class="three fields">
                {{ form_row(form.prefix) }}
                {{ form_row(form.codeLength) }}
                {{ form_row(form.suffix) }}
            </div>
        </div>
    </div>
</div>
<div class="ui two column stackable grid">
    <div class="column">
        <div class="ui segment">
            {{ form_errors(form) }}
            {{ form_row(form.amount) }}
        </div>
    </div>
    <div class="column">
        <div class="ui segment">
            <h4 class="ui dividing header">{{ 'sylius.ui.expiration_and_usage_limits'|trans }}</h4>
            <div class="two fields">
                {{ form_row(form.expiresAt) }}
                {{ form_row(form.usageLimit) }}
            </div>
        </div>
    </div>
</div>
