<div class="ui segment">
    {{ form_errors(form) }}
    {{ form_row(form.code) }}
</div>
<div class="ui segment">
    <h4 class="ui dividing header">{{ 'sylius.ui.expiration_and_usage_limits'|trans }}</h4>
    <div class="two fields">
        {{ form_row(form.usageLimit) }}
        {{ form_row(form.perCustomerUsageLimit) }}
    </div>
    <div class="two fields">
        {{ form_row(form.reusableFromCancelledOrders) }}
        {{ form_row(form.expiresAt) }}
    </div>
</div>
