<commit_before>{% extends 'BraincraftedBootstrapBundle:Form:bootstrap.html.twig' %}

{% block eav_value_row %}
    {% set col_size = col_size|default(bootstrap_get_col_size()) %}
    {% set label_col = label_col|default(bootstrap_get_label_col()) %}
    {% set widget_col = widget_col|default(bootstrap_get_widget_col()) %}
    {% spaceless %}
        <div class="form-group {% if form.vars.attribute.valueType == 'nested' %}form-group-nested-content{% endif %}">
            <label class="col-{{ col_size }}-{{ label_col }}">{{ form.vars.label }}</label>

            <div class="col-{{ col_size }}-{{ widget_col }}">
                {% for child in form.children %}
                    {{ form_widget(child, {'attr': attr}) }}
                {% endfor %}
                {% if form.vars.attribute.valueType == 'nested' %}
                    <section class="nested-content-wrapper">
                        <input name="{{ form.vars.id }}" type="hidden" value="{{ form.vars.value }}">
                        <nested-content attribute="{{ name }}" attribute-id="{{ form.vars.attribute.id }}"
                                        ids="{{ form.vars.value }}"></nested-content>
                    </section>
                {% endif %}
                {{ block('form_help') }}
            </div>
        </div>
    {% endspaceless %}
{% endblock %}

{#
    Valueset Row
#}
{% block opifer_valueset_row %}
    {% spaceless %}
        <section class="form-section">
            {{ block('form_widget') }}
        </section>
    {% endspaceless %}<commit_msg>Fixed field rendering<commit_after>{% extends 'BraincraftedBootstrapBundle:Form:bootstrap.html.twig' %}

{% block eav_value_row %}
    {% spaceless %}
        <div class="form-group {% if form.vars.attribute.valueType == 'nested' %}form-group-nested-content{% endif %}">
            <label class="{{ attr.label_class|default('control-label col-lg-2 required') }}">{{ form.vars.label }}</label>
            <div class="{{ attr.column_class|default('col-lg-10') }}">
                {% for child in form.children %}
                    {{ form_widget(child, {'attr': attr}) }}
                {% endfor %}
                {% if form.vars.attribute.valueType == 'nested' %}
                    <section class="nested-content-wrapper">
                        <input name="{{ form.vars.id }}" type="hidden" value="{{ form.vars.value }}">
                        <nested-content attribute="{{ name }}" attribute-id="{{ form.vars.attribute.id }}" ids="{{ form.vars.value }}"></nested-content>
                    </section>
                {% endif %}
                {{ block('form_help') }}
            </div>
        </div>
    {% endspaceless %}
{% endblock %}

{#
    Valueset Row
#}
{% block opifer_valueset_row %}
    {% spaceless %}
        <section class="form-section">
            {{ block('form_widget') }}
        </section>
    {% endspaceless %}
{'fraction_non_alphanumeric': 0.1781056966369252, 'fraction_numerical': 0.001029512697323267, 'mean_word_length': 2.0587618048268626, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2632353', 'n_tokens_mistral': 891, 'n_tokens_neox': 798, 'n_words': 145}