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

{% block field_rows %}
    <div class="symfony-form-errors">
        {{ form_errors(form) }}
    </div>
    {% for child in form.children %}
        {{ form_row(child) }}
    {% endfor %}
{% endblock field_rows %}

{% block field_row %}
    <div class="symfony-form-row">
        {{ form_label(form) }}
        <div class="symfony-form-field">
            {{ form_widget(form) }}
            <div class="symfony-form-errors">
                {{ form_errors(form) }}
            </div>
        </div>
    </div>
{% endblock %}

{% block field_label %}
    <label for="{{ id }}">
        {{ label|trans }}
        {% if required %}<commit_msg>fixed form labels to latest changes in Symfony2.1<commit_after>{% extends "form_div_layout.html.twig" %}

{% block form_rows %}
    <div class="symfony-form-errors">
        {{ form_errors(form) }}
    </div>
    {% for child in form %}
        {{ form_row(child) }}
    {% endfor %}
{% endblock %}

{% block form_row %}
    <div class="symfony-form-row">
        {{ form_label(form) }}
        <div class="symfony-form-field">
            {{ form_widget(form) }}
            <div class="symfony-form-errors">
                {{ form_errors(form) }}
            </div>
        </div>
    </div>
{% endblock %}

{% block form_label %}
    {% if label is empty %}
        {% set label = name|humanize %}
    {% endif %}
    <label for="{{ id }}">
        {{ label|trans }}
        {% if required %}
{'fraction_non_alphanumeric': 0.1806020066889632, 'fraction_numerical': 0.0013377926421404682, 'mean_word_length': 2.090909090909091, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '3821804', 'n_tokens_mistral': 514, 'n_tokens_neox': 470, 'n_words': 94}