<commit_before>{% extends '@CleverAgeEAVManagerLayout/layout.html.twig' %}
{% block body_class %}no-menu{% endblock %}
{% block main_menu %}{% endblock %}
{% block main_content %}
    {{ utilities.flash_messages() }}
    {{ form(form) }}
    <div class="btn-group pull-right">
        <button class="btn btn-default tinymce-close">Fermer</button>
        <button class="btn btn-primary tinymce-submit">Valider</button>
    </div>
    <div class="clear"></div>
{% endblock %}
{% block additionnal_javascript %}
    <script>
        var editor = parent.tinymce.activeEditor;

        $('.tinymce-close').on('click', function (e) {
            editor.windowManager.close();
            e.preventDefault();
            e.stopPropagation();
        });
    </script>

    {% block tinymce_javascript %}
        <script>
            $('.tinymce-submit').on('click', function (e) {<commit_msg>Fixed template naming in wysiwyg data/media selector<commit_after>{% extends 'CleverAgeEAVManagerLayoutBundle::layout.html.twig' %}
{% block body_class %}no-menu{% endblock %}
{% block main_menu %}{% endblock %}
{% block main_content %}
    {{ utilities.flash_messages() }}
    {{ form(form) }}
    <div class="btn-group pull-right">
        <button class="btn btn-default tinymce-close">Fermer</button>
        <button class="btn btn-primary tinymce-submit">Valider</button>
    </div>
    <div class="clear"></div>
{% endblock %}
{% block additionnal_javascript %}
    <script>
        var editor = parent.tinymce.activeEditor;

        $('.tinymce-close').on('click', function (e) {
            editor.windowManager.close();
            e.preventDefault();
            e.stopPropagation();
        });
    </script>

    {% block tinymce_javascript %}
        <script>
            $('.tinymce-submit').on('click', function (e) {
{'fraction_non_alphanumeric': 0.17006053935057788, 'fraction_numerical': 0.0, 'mean_word_length': 2.943600867678959, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '2010532', 'n_tokens_mistral': 590, 'n_tokens_neox': 546, 'n_words': 102}