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

{# Widgets #}
{% block form_widget_note -%}
    {% for attrname, attrvalue in attr %}
        {% if attrname == 'input-note' %}
            <div class="input-note">{{ attrvalue|trans }}</div>
        {% endif %}
    {% endfor %}
{%- endblock form_widget_note %}
{% block form_widget_simple -%}
    {% if type is not defined or type not in ['file', 'hidden'] %}
        {%- set attr = attr|merge({class: (attr.class|default('') ~ ' input')|trim}) -%}
    {% endif %}
    <div class="field">
    {{- parent() -}}
    {{- block('form_widget_note') -}}
    </div>
{%- endblock form_widget_simple %}

{% block textarea_widget -%}
    {% set attr = attr|merge({class: (attr.class|default('') ~ ' input')|trim}) %}
    {{- parent() -}}
{%- endblock textarea_widget %}

{% block button_widget -%}
    {% set attr = attr|merge({class: (attr.class|default('bg') ~ ' button')|trim}) %}
    {{- parent() -}}
{%- endblock %}

{% block money_widget -%}
    <div class="form-group">
        {% set append = money_pattern starts with '{{' %}<commit_msg>[MOD] modify textarea theme<commit_after>{% use "form_div_layout.html.twig" %}

{# Widgets #}
{% block form_widget_note -%}
    {% for attrname, attrvalue in attr %}
        {% if attrname == 'input-note' %}
            <div class="input-note">{{ attrvalue|trans }}</div>
        {% endif %}
    {% endfor %}
{%- endblock form_widget_note %}
{% block form_widget_simple -%}
    {% if type is not defined or type not in ['file', 'hidden'] %}
        {%- set attr = attr|merge({class: (attr.class|default('') ~ ' input')|trim}) -%}
    {% endif %}
    <div class="field">
    {{- parent() -}}
    {{- block('form_widget_note') -}}
    </div>
{%- endblock form_widget_simple %}

{% block textarea_widget -%}
    {% set attr = attr|merge({class: (attr.class|default('') ~ ' input')|trim}) %}
    <div class="field">
    {{- parent() -}}
    </div>
{%- endblock textarea_widget %}

{% block button_widget -%}
    {% set attr = attr|merge({class: (attr.class|default('bg') ~ ' button')|trim}) %}
    {{- parent() -}}
{%- endblock %}

{% block money_widget -%}
    <div class="form-group">
        {% set append = money_pattern starts with '{{' %}
{'fraction_non_alphanumeric': 0.2187359928283281, 'fraction_numerical': 0.0, 'mean_word_length': 3.087912087912088, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '521903', 'n_tokens_mistral': 820, 'n_tokens_neox': 750, 'n_words': 158}