<commit_before>{{ form_errors(form) }}
<div class="ui segment">
    <div class="two fields">
        {{ form_row(form.code) }}
        {{ form_row(form.name) }}
    </div>
    <div class="two field">
        <div class="column">
            {{ form_row(form.usageLimit) }}
            {{ form_row(form.couponBased) }}
            {{ form_row(form.exclusive) }}
        </div>
        <div class="column">
            {{ form_row(form.channels) }}
        </div>
    </div>
    <div class="two fields">
        {{ form_row(form.startsAt) }}
        {{ form_row(form.endsAt) }}
    </div>
</div>
<div class="ui segment">
    <h4 class="ui dividing header">{{ 'sylius.ui.configuration'|trans }}</h4>

    <div class="ui two column stackable grid">
        <div class="column">
            {{ form_row(form.rules) }}
        </div>
        <div class="column" id="actions">
            {{ form_row(form.actions) }}
        </div>
    </div>
</div>
<commit_msg>[Admin] Tweak the promotion form interface<commit_after><div class="ui two column stackable grid">
    <div class="column">
        {{ form_errors(form) }}
        <div class="ui segment">
            <div class="two fields">
                {{ form_row(form.code) }}
                {{ form_row(form.name) }}
            </div>
            {{ form_row(form.description) }}
        </div>
    </div>
    <div class="column">
        <div class="ui two column stackable grid">
            <div class="column">
                {{ form_row(form.usageLimit) }}
                {{ form_row(form.couponBased) }}
                {{ form_row(form.exclusive) }}
            </div>
            <div class="column">
                {{ form_row(form.channels) }}
            </div>
        </div>
    </div>
    <div class="two fields">
        {{ form_row(form.startsAt) }}
        {{ form_row(form.endsAt) }}
    </div>
</div>
</div>
<div class="ui segment">
    <h4 class="ui dividing header">{{ 'sylius.ui.configuration'|trans }}</h4>

    <div class="ui two column stackable grid">
        <div class="column">
            {{ form_row(form.rules) }}
        </div>
        <div class="column" id="actions">
            {{ form_row(form.actions) }}
        </div>
    </div>
</div>

{'fraction_non_alphanumeric': 0.17668161434977578, 'fraction_numerical': 0.0017937219730941704, 'mean_word_length': 1.9011703511053315, 'pattern_counts': {'":': 0, '<': 54, '<?xml version=': 0, '>': 54, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '119414', 'n_tokens_mistral': 707, 'n_tokens_neox': 696, 'n_words': 138}