<commit_before>{% extends 'KunstmaanAdminBundle:Default:layout.html.twig' %}
{% form_theme form 'KunstmaanAdminBundle:Form:fields.html.twig' %}

{% block header %}
    <form action="{{ path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) }}" method="post" {{ form_enctype(form) }} novalidate="novalidate">
    {{ parent() }}
{% endblock %}

{% block extra_actions_header %}
    <div class="col-sm-6 col-md-4">
        <!-- Main-actions -->
        <div class="js-auto-collapse-buttons page-main-actions page-main-actions--no-tabs page-main-actions--inside-extra-actions-header">
            <div class="btn-group">
                {% block actions %}
                    <button type="submit" class="btn btn-primary btn--raise-on-hover">
                        {{ 'Save' | trans }}
                    </button>
                    <a href="{{ path(adminlistconfigurator.getIndexUrl()["path"], adminlistconfigurator.getIndexUrl()["params"]) }}" class="btn btn-default btn--raise-on-hover">
                        {{ 'form.cancel' | trans }}
                    </a>

                    {% if adminlistconfigurator.hasItemActions() %}
                        {% for itemAction in adminlistconfigurator.getItemActions() %}
                            <a class="btn btn-default btn--raise-on-hover" href="{{ path(itemAction.getUrlFor(entity)["path"], itemAction.getUrlFor(entity)[("params")] ) }}">
                                {% if itemAction.getIconFor(entity) is not null %}
                                    <i class="fa fa-{{ itemAction.getIconFor(entity) }}"></i>
                                {% endif %}
                                {{ itemAction.getLabelFor(entity) }}<commit_msg>[AllBundles] Deprecated form_enctype, replace it with correct form_start<commit_after>{% extends 'KunstmaanAdminBundle:Default:layout.html.twig' %}
{% form_theme form 'KunstmaanAdminBundle:Form:fields.html.twig' %}

{% block header %}
    {{ form_start(form, {'method': 'POST', 'action': path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')), 'attr': {'novalidate': 'novalidate'}}) }}
    {{ parent() }}
{% endblock %}

{% block extra_actions_header %}
    <div class="col-sm-6 col-md-4">
        <!-- Main-actions -->
        <div class="js-auto-collapse-buttons page-main-actions page-main-actions--no-tabs page-main-actions--inside-extra-actions-header">
            <div class="btn-group">
                {% block actions %}
                    <button type="submit" class="btn btn-primary btn--raise-on-hover">
                        {{ 'Save' | trans }}
                    </button>
                    <a href="{{ path(adminlistconfigurator.getIndexUrl()["path"], adminlistconfigurator.getIndexUrl()["params"]) }}" class="btn btn-default btn--raise-on-hover">
                        {{ 'form.cancel' | trans }}
                    </a>

                    {% if adminlistconfigurator.hasItemActions() %}
                        {% for itemAction in adminlistconfigurator.getItemActions() %}
                            <a class="btn btn-default btn--raise-on-hover" href="{{ path(itemAction.getUrlFor(entity)["path"], itemAction.getUrlFor(entity)[("params")] ) }}">
                                {% if itemAction.getIconFor(entity) is not null %}
                                    <i class="fa fa-{{ itemAction.getIconFor(entity) }}"></i>
                                {% endif %}
                                {{ itemAction.getLabelFor(entity) }}
{'fraction_non_alphanumeric': 0.1614819004524887, 'fraction_numerical': 0.0011312217194570137, 'mean_word_length': 2.0890829694323143, 'pattern_counts': {'":': 0, '<': 26, '<?xml version=': 0, '>': 26, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2225906', 'n_tokens_mistral': 1023, 'n_tokens_neox': 953, 'n_words': 159}