<commit_before>{% if not context.has.tabs %}
    <hr>

    <h3>
        {{ __('Template') }}
        <span class="label info-pop" data-html="true" data-title="{{ __('Relationships') }}"
            data-content="{{ app.translator.trans('info.relationships', {}, 'infos') }}">{{ __('Info') }}</span>
    </h3>
{% endif %}

{% set templatefields = context.content.get('templatefields').contenttype %}
{% if templatefields is not empty %}
    {% for templatekey, templatefield in templatefields.fields %}

            <div class="form-group">
                {# Prefix #}
                {% if templatefield.prefix is defined and templatefield.prefix is not empty %}
                    <div class="prefix">
                        {{ templatefield.prefix|markdown }}
                    </div>
                {% endif %}

                {# Fields #}
                {% set templatelabelkey = templatefield.label ?: templatekey|ucfirst %}

                {% for fieldtype in context.fields %}
                    {% if templatefield.type == fieldtype.name %}
                        {% include fieldtype.template with {
                            field: templatefield,
                            key: 'templatefields-' ~ templatekey,
                            contentkey: templatekey,
                            context: context|merge({ content: context.content.get('templatefields') }),
                            name: 'templatefields[' ~ templatekey ~ ']',
                            labelkey:  templatelabelkey
                        } %}
                    {% endif %}
                {% endfor %}

                {# Postfix #}
                {% if templatefield.postfix is defined and templatefield.postfix is not empty %}
                    <div class="postfix">
                        {{ templatefield.postfix|markdown }}
                    </div>
                {% endif %}

                {# Divider #}
                {% if templatefield.separator is defined and templatefield.separator == true %}
                    <hr>
                {% endif %}
            </div>

    {% endfor %}
{% endif %}

{% if not context.has.tabs %}
    <hr>
{% endif %}
<commit_msg>Remove info from template section<commit_after>{% if not context.has.tabs %}
    <hr>
    <h3>
        {{ __('Template') }}
    </h3>
{% endif %}

{% set templatefields = context.content.get('templatefields').contenttype %}
{% if templatefields is not empty %}
    {% for templatekey, templatefield in templatefields.fields %}

            <div class="form-group">
                {# Prefix #}
                {% if templatefield.prefix is defined and templatefield.prefix is not empty %}
                    <div class="prefix">
                        {{ templatefield.prefix|markdown }}
                    </div>
                {% endif %}

                {# Fields #}
                {% set templatelabelkey = templatefield.label ?: templatekey|ucfirst %}

                {% for fieldtype in context.fields %}
                    {% if templatefield.type == fieldtype.name %}
                        {% include fieldtype.template with {
                            field: templatefield,
                            key: 'templatefields-' ~ templatekey,
                            contentkey: templatekey,
                            context: context|merge({ content: context.content.get('templatefields') }),
                            name: 'templatefields[' ~ templatekey ~ ']',
                            labelkey:  templatelabelkey
                        } %}
                    {% endif %}
                {% endfor %}

                {# Postfix #}
                {% if templatefield.postfix is defined and templatefield.postfix is not empty %}
                    <div class="postfix">
                        {{ templatefield.postfix|markdown }}
                    </div>
                {% endif %}

                {# Divider #}
                {% if templatefield.separator is defined and templatefield.separator == true %}
                    <hr>
                {% endif %}
            </div>

    {% endfor %}
{% endif %}

{% if not context.has.tabs %}
    <hr>
{% endif %}

{'fraction_non_alphanumeric': 0.12205005959475566, 'fraction_numerical': 0.0009535160905840286, 'mean_word_length': 1.3259423503325942, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, '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': '3824554', 'n_tokens_mistral': 1120, 'n_tokens_neox': 958, 'n_words': 225}