<commit_before><div id="form-group-{{ element.vars.id }}" class="form-group{% if not element.vars.valid %} error{% endif %}{% if formGroupClass is defined %} {{formGroupClass}}{% endif %}">

    {% if labelRaw is defined and labelRaw %}
      <label class="form-label {% if element.vars.required %} required {% endif %}" for="{{ element.vars.id }}">
        {{ labelText | raw }}
      </label>
    {% else %}
      {{ form_label(element, labelText, {'label_attr': {'class': 'form-label ' ~ labelClass | default('') }}) }}
    {% endif %}
    {% if (hintText is defined) and (hintText is not empty) %}
        <p class="form-hint">
          {{ hintText }}
        </p>
        {% if hintListArray is defined %}
            <ul class="form-hint list-bullet">
                {% for hintList in hintListArray %}
                    <li>{{ hintList }}</li>
                {% endfor %}
            </ul>
        {% endif %}
    {% endif %}

    {{ form_errors(element) }}

    {% set class = element.vars.attr.class | default('') ~ ' form-control ' ~ inputClass | default('') %}

    {% if (preInputText is defined) and (preInputText is not empty) %}
        <span class="pre-input-text">{{ preInputText }}</span>
    {% endif %}

    {% if inputPrefix is defined and inputPrefix is not empty %}
        <span class="input-group-prefix">{{ inputPrefix }}</span>
    {% endif %}

    {% if element.vars.valid %}
        {{ form_widget(element, { 'attr': {'class': class } }) }}
    {% else %}
        {{ form_widget(element, { 'attr': {'class': class, 'aria-invalid':'true' } }) }}
    {% endif %}

</div>
<commit_msg>form hints constrained with .text<commit_after><div id="form-group-{{ element.vars.id }}" class="form-group{% if not element.vars.valid %} error{% endif %}{% if formGroupClass is defined %} {{formGroupClass}}{% endif %}">

    {% if labelRaw is defined and labelRaw %}
      <label class="form-label {% if element.vars.required %} required {% endif %}" for="{{ element.vars.id }}">
        {{ labelText | raw }}
      </label>
    {% else %}
      {{ form_label(element, labelText, {'label_attr': {'class': 'form-label ' ~ labelClass | default('') }}) }}
    {% endif %}
    {% if (hintText is defined) and (hintText is not empty) %}
        <p class="form-hint text">
          {{ hintText }}
        </p>
        {% if hintListArray is defined %}
            <ul class="form-hint list-bullet">
                {% for hintList in hintListArray %}
                    <li>{{ hintList }}</li>
                {% endfor %}
            </ul>
        {% endif %}
    {% endif %}

    {{ form_errors(element) }}

    {% set class = element.vars.attr.class | default('') ~ ' form-control ' ~ inputClass | default('') %}

    {% if (preInputText is defined) and (preInputText is not empty) %}
        <span class="pre-input-text">{{ preInputText }}</span>
    {% endif %}

    {% if inputPrefix is defined and inputPrefix is not empty %}
        <span class="input-group-prefix">{{ inputPrefix }}</span>
    {% endif %}

    {% if element.vars.valid %}
        {{ form_widget(element, { 'attr': {'class': class } }) }}
    {% else %}
        {{ form_widget(element, { 'attr': {'class': class, 'aria-invalid':'true' } }) }}
    {% endif %}

</div>

{'fraction_non_alphanumeric': 0.19016897081413212, 'fraction_numerical': 0.0, 'mean_word_length': 2.4455026455026454, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '2275139', 'n_tokens_mistral': 1065, 'n_tokens_neox': 938, 'n_words': 249}