<commit_before>{#

This file is part of the Sonata package.

(c) <NAME> <<EMAIL>>

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.

#}
<table class="table table-bordered">
    <thead>
        <tr>
            {% for field_name, nested_field in form.children|first.children %}
                {% if field_name == '_delete' %}
                    <th>{{ 'action_delete'|trans({}, 'SonataAdminBundle') }}</th>
                {% else %}
                    <th
                        {% if nested_field.vars['required']|default(false) %}
                            class="required"
                        {% endif %}
                        {% if nested_field.vars['attr']['hidden']|default(false) %}
                            style="display:none;"
                        {% endif %}
                    >
                        {% if nested_field.vars.translation_domain is same as(false) %}
                            {{ nested_field.vars.label }}
                        {% else %}
                            {% set translationDomain = nested_field.vars.translation_domain|default(nested_field.vars['sonata_admin'].admin.translationDomain|default(null)) %}
                            {{ nested_field.vars.label|trans({}, translationDomain) }}
                        {% endif %}
                    </th>
                {% endif %}
            {% endfor %}
        </tr>
    </thead>
    <tbody class="sonata-ba-tbody">
        {% for nested_group_field_name, nested_group_field in form.children %}
            <tr>
                {% for field_name, nested_field in nested_group_field.children %}
                    <td class="
                        sonata-ba-td-{{ id }}-{{ field_name }}
                        form-group
                        control-group
                        {% if nested_field.vars.errors|default(false) %} error has-error sonata-ba-field-error{% endif %}
                        "
                        {% if nested_field.vars['attr']['hidden']|default(false) %}
                            style="display:none;"
                        {% endif %}
                    >
                        {% if sonata_admin.field_description.associationadmin.formfielddescriptions[field_name] is defined %}
                            {{ form_widget(nested_field) }}

                            {# NEXT_MAJOR: Remove this block #}
                            {% if sonata_admin.field_description.associationadmin.formfielddescriptions[field_name].help %}
                                <span class="help-block">
                                    {%- block help %}
                                        {% deprecated 'The "help" option is deprecated in field description since sonata-project/admin-bundle 3.74, to be removed in 4.0. Use Symfony Form "help" option instead.' %}
                                        {{- sonata_admin.field_description.associationadmin.formfielddescriptions[field_name].help|trans(
                                            {},
                                            sonata_admin.field_description.associationadmin.formfielddescriptions[field_name].translationDomain
                                        )|raw -}}
                                    {% endblock -%}
                                </span>
                            {% endif %}

                            {{ form_help(nested_field) }}

                            {% set dummy = nested_group_field.setrendered %}
                        {% else %}
                            {% if field_name == '_delete' %}
                                {{ form_widget(nested_field, { label: false }) }}
                            {% else %}
                                {{ form_widget(nested_field) }}
                            {% endif %}
                        {% endif %}
                        {% if nested_field.vars.errors|default(false) %}
                            <div class="help-block help-inline sonata-ba-field-error-messages">
                                {{ form_errors(nested_field) }}
                            </div>
                        {% endif %}
                    </td>
                {% endfor %}
            </tr><commit_msg>Mute deprecation<commit_after>{#

This file is part of the Sonata package.

(c) <NAME> <<EMAIL>>

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.

#}
<table class="table table-bordered">
    <thead>
        <tr>
            {% for field_name, nested_field in form.children|first.children %}
                {% if field_name == '_delete' %}
                    <th>{{ 'action_delete'|trans({}, 'SonataAdminBundle') }}</th>
                {% else %}
                    <th
                        {% if nested_field.vars['required']|default(false) %}
                            class="required"
                        {% endif %}
                        {% if nested_field.vars['attr']['hidden']|default(false) %}
                            style="display:none;"
                        {% endif %}
                    >
                        {% if nested_field.vars.translation_domain is same as(false) %}
                            {{ nested_field.vars.label }}
                        {% else %}
                            {% set translationDomain = nested_field.vars.translation_domain|default(nested_field.vars['sonata_admin'].admin.translationDomain|default(null)) %}
                            {{ nested_field.vars.label|trans({}, translationDomain) }}
                        {% endif %}
                    </th>
                {% endif %}
            {% endfor %}
        </tr>
    </thead>
    <tbody class="sonata-ba-tbody">
        {% for nested_group_field_name, nested_group_field in form.children %}
            <tr>
                {% for field_name, nested_field in nested_group_field.children %}
                    <td class="
                        sonata-ba-td-{{ id }}-{{ field_name }}
                        form-group
                        control-group
                        {% if nested_field.vars.errors|default(false) %} error has-error sonata-ba-field-error{% endif %}
                        "
                        {% if nested_field.vars['attr']['hidden']|default(false) %}
                            style="display:none;"
                        {% endif %}
                    >
                        {% if sonata_admin.field_description.associationadmin.formfielddescriptions[field_name] is defined %}
                            {{ form_widget(nested_field) }}

                            {# NEXT_MAJOR: Remove this block #}
                            {% if sonata_admin.field_description.associationadmin.formfielddescriptions[field_name].getHelp('sonata_deprecation_mute') %}
                                <span class="help-block">
                                    {%- block help %}
                                        {% deprecated 'The "help" option is deprecated in field description since sonata-project/admin-bundle 3.74, to be removed in 4.0. Use Symfony Form "help" option instead.' %}
                                        {{- sonata_admin.field_description.associationadmin.formfielddescriptions[field_name].help|trans(
                                            {},
                                            sonata_admin.field_description.associationadmin.formfielddescriptions[field_name].translationDomain
                                        )|raw -}}
                                    {% endblock -%}
                                </span>
                            {% endif %}

                            {{ form_help(nested_field) }}

                            {% set dummy = nested_group_field.setrendered %}
                        {% else %}
                            {% if field_name == '_delete' %}
                                {{ form_widget(nested_field, { label: false }) }}
                            {% else %}
                                {{ form_widget(nested_field) }}
                            {% endif %}
                        {% endif %}
                        {% if nested_field.vars.errors|default(false) %}
                            <div class="help-block help-inline sonata-ba-field-error-messages">
                                {{ form_errors(nested_field) }}
                            </div>
                        {% endif %}
                    </td>
                {% endfor %}
            </tr>
{'fraction_non_alphanumeric': 0.10670696268743461, 'fraction_numerical': 0.001162385214460072, 'mean_word_length': 1.1119293078055965, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 32, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5109665', 'n_tokens_mistral': 2112, 'n_tokens_neox': 1854, 'n_words': 354}