<commit_before><div class="card z-depth-0">
    <ul class="collection">
        {% for cmt in cmtlist %}
            <li class="collection-item avatar">
                <img src="{{ asset(user.getImagePath) }}" class="circle">
                <span class="title">{{ cmt.user.name }}</span>
                <p>{{ cmt.content }}</p>
                <p class="secondary-content caption light-2">{{ 'published_at' |trans ({'%date%': cmt.created|date("d/m/Y")}) }}</p>
                <br>
                <div class="card-action">
                    <i class="material-icons post-icon prefix light-2">delete</i>
                    <a class="waves-effect modal-trigger confirm" href="#modal1"
                       data-cmtid="{{ cmt.id }}" data-cmtaction="delete">
                        {{ 'delete' | trans }}
                    </a>

                    <i class="material-icons post-icon prefix light-2">verified_user</i>
                    <a class="waves-effect modal-trigger confirm" href="#modal1"
                       data-cmtid="{{ cmt.id }}" data-cmtaction="authorize">
                        {{ 'authorize' | trans }}
                    </a>
                </div>
            </li>
        {% endfor %}
    </ul>
</div>
<!-- MODAL -->
<div id="modal1" class="modal">
    <div class="modal-content">
        <h5 id="modalTitle"></h5>
        <br>
        {{ form_start(form) }}
        <div class="center">
                <button type="reset" class="modal-action modal-close btn white scroll-to waves-effect">{{ 'no' | trans }}</button>
                {{ form_widget(form.save) }}<commit_msg>Fix (Comment admin): fixed wrong user vars<commit_after><div class="card z-depth-0">
    <ul class="collection">
        {% for cmt in cmtlist %}
            <li class="collection-item avatar">
                <img src="{{ asset(cmt.user.getImagePath) }}" class="circle">
                <span class="title">{{ cmt.user.name }}</span>
                <p>{{ cmt.content }}</p>
                <p class="secondary-content caption light-2">{{ 'published_at' |trans ({'%date%': cmt.created|date("d/m/Y")}) }}</p>
                <br>
                <div class="card-action">
                    <i class="material-icons post-icon prefix light-2">delete</i>
                    <a class="waves-effect modal-trigger confirm" href="#modal1"
                       data-cmtid="{{ cmt.id }}" data-cmtaction="delete">
                        {{ 'delete' | trans }}
                    </a>

                    <i class="material-icons post-icon prefix light-2">verified_user</i>
                    <a class="waves-effect modal-trigger confirm" href="#modal1"
                       data-cmtid="{{ cmt.id }}" data-cmtaction="authorize">
                        {{ 'authorize' | trans }}
                    </a>
                </div>
            </li>
        {% endfor %}
    </ul>
</div>
<!-- MODAL -->
<div id="modal1" class="modal">
    <div class="modal-content">
        <h5 id="modalTitle"></h5>
        <br>
        {{ form_start(form) }}
        <div class="center">
                <button type="reset" class="modal-action modal-close btn white scroll-to waves-effect">{{ 'no' | trans }}</button>
                {{ form_widget(form.save) }}
{'fraction_non_alphanumeric': 0.17511520737327188, 'fraction_numerical': 0.005529953917050691, 'mean_word_length': 1.6514657980456027, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '2228531', 'n_tokens_mistral': 976, 'n_tokens_neox': 913, 'n_words': 198}