<commit_before>{% extends 'form_div_layout.html.twig' %}

{% block form_row %}
    {% spaceless %}
        <div class="control-group{% if attr.class is defined %} {{- attr.class -}}{% endif %}{% if block_prefixes is defined %} control-group-{{ block_prefixes[1] }}{% endif %}">
            {% if hint|default() and hint_position|default() == 'above' %}
                <div{{ block('hint_attributes') }}>{{ hint|raw }}</div>
            {% endif %}
            {% if label is not sameas(false) %}
                <div class="control-label wrap">
                    {{ form_label(form, '' , { label_attr: label_attr}) }}
                </div>
            {% endif %}
            <div class="controls{% if errors|length > 0 %} validation-error{% endif %}">
                {{ form_widget(form) }}
                {% if hint|default() and hint_position|default() == 'after_input' %}
                    <div{{ block('hint_attributes') }}>{{ hint|raw }}</div>
                {% endif %}
                {{ form_errors(form) }}
            </div>
            {% if hint|default() and hint_position|default() == 'below' %}
                <div{{ block('hint_attributes') }}>{{ hint|raw }}</div>
            {% endif %}<commit_msg>BAP-17448: Code Review - fix behat tests<commit_after>{% extends 'form_div_layout.html.twig' %}

{% block form_row %}
    {% spaceless %}
        <div class="control-group{% if attr.class is defined %} {{ attr.class }}{% endif %}{% if block_prefixes is defined %} control-group-{{ block_prefixes[1] }}{% endif %}">
            {% if hint|default() and hint_position|default() == 'above' %}
                <div{{ block('hint_attributes') }}>{{ hint|raw }}</div>
            {% endif %}
            {% if label is not sameas(false) %}
                <div class="control-label wrap">
                    {{ form_label(form, '' , { label_attr: label_attr}) }}
                </div>
            {% endif %}
            <div class="controls{% if errors|length > 0 %} validation-error{% endif %}">
                {{ form_widget(form) }}
                {% if hint|default() and hint_position|default() == 'after_input' %}
                    <div{{ block('hint_attributes') }}>{{ hint|raw }}</div>
                {% endif %}
                {{ form_errors(form) }}
            </div>
            {% if hint|default() and hint_position|default() == 'below' %}
                <div{{ block('hint_attributes') }}>{{ hint|raw }}</div>
            {% endif %}
{'fraction_non_alphanumeric': 0.1843485276321097, 'fraction_numerical': 0.003630496167809601, 'mean_word_length': 1.9843561973525872, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 27, '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': '4553935', 'n_tokens_mistral': 783, 'n_tokens_neox': 673, 'n_words': 153}