<commit_before>{% extends 'AppBundle::layout.html.twig' %}

{% block body -%}
    <h1>Labels</h1>

    <table class="table">
        <thead>
            <tr>
                <th>Name</th>
                <th>Color</th>
                <th>Sortorder</th>
                <th></th>
            </tr>
        </thead>
        <tbody>
        {% for entity in entities %}
            <tr>
                <td><a href="{{ path('tag_show', { 'id': entity.id }) }}">{{ entity.name }}</a></td>
                <td>{{ entity.color }}</td>
                <td>{{ entity.sortorder }}</td>
                <td>{% if is_granted('ROLE_ADMIN') %}<a class="btn btn-default" href="{{ path('tag_edit', { 'id': entity.id }) }}">Edit</a>{% endif %}</td>
            </tr>
        {% endfor %}
        </tbody>
    </table>

    {% endblock %}<commit_msg>label list<commit_after>{% extends 'AppBundle::layout.html.twig' %}

{% block body -%}
    <h1>Labels</h1>

    <table class="table">
        <thead>
            <tr>
                <th>Name</th>
                <th>Sortorder</th>
                <th></th>
            </tr>
        </thead>
        <tbody>
        {% for entity in entities %}
            <tr>
                <td>
                    <a style="font-size: large" href="{{ path('tag_show', { 'id': entity.id }) }}"><span class="label label-default margin-right"
                                                                                            style="background-color: {{
                        entity
                        .color }};">{{ entity.name }}</span></a></td>
                <td>{{ entity.sortorder }}</td>
                <td>{% if is_granted('ROLE_ADMIN') %}<a class="btn btn-default" href="{{ path('tag_edit', { 'id': entity.id }) }}">Edit</a>{% endif %}</td>
            </tr>
        {% endfor %}
        </tbody>
    </table>

    {% endblock %}
{'fraction_non_alphanumeric': 0.1976558337773042, 'fraction_numerical': 0.002131060202450719, 'mean_word_length': 1.3242574257425743, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 65, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6644414', 'n_tokens_mistral': 599, 'n_tokens_neox': 549, 'n_words': 113}