<commit_before>{% extends 'base.html.twig' %}

{% block body %}
    <h1>Tag a picture</h1>

    <div class="picture">
        <img id="tagged-picture" class="max-screen-size" src="{{ path('view_picture', {picture:picture.id}) }}" alt="{{ picture.name }}"/>
    </div>
    {{ form_start(form) }}
    {{ form_widget(form) }}
    <div class="fixed-bottom ml-3 mb-3">
        <input type="submit" class="btn btn-bg btn-primary" value="{% trans %}global.add{% endtrans %}"/>
        {% if is_granted("ROLE_ADMIN") %}
            <a href="{{ path('picture_delete', {'id': picture.id}) }}" class="form-button btn btn-danger">Delete</a>
        {% endif %}
    </div>
    {{ form_end(form) }}
    <div class="spacing mt-5 mb-3">
        <!-- Empty -->
    </div>
{% endblock %}<commit_msg>Add padding for tag buttons<commit_after>{% extends 'base.html.twig' %}

{% block body %}
    <h1>Tag a picture</h1>

    <div class="picture">
        <img id="tagged-picture" class="max-screen-size" src="{{ path('view_picture', {picture:picture.id}) }}" alt="{{ picture.name }}"/>
    </div>
    {{ form_start(form) }}
    {{ form_widget(form) }}
    <div class="fixed-bottom ml-3 mb-3 pt-1 pl-2">
        <input type="submit" class="btn btn-lg btn-bg btn-primary" value="{% trans %}global.add{% endtrans %}"/>
        {% if is_granted("ROLE_ADMIN") %}
            <a href="{{ path('picture_delete', {'id': picture.id}) }}" class="form-button btn btn-danger">Delete</a>
        {% endif %}
    </div>
    {{ form_end(form) }}
    <div class="spacing pt-5 pb-3">
        <!-- Empty -->
    </div>
{% endblock %}
{'fraction_non_alphanumeric': 0.224105461393597, 'fraction_numerical': 0.008788449466415568, 'mean_word_length': 2.9358024691358025, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, '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': '6701616', 'n_tokens_mistral': 572, 'n_tokens_neox': 534, 'n_words': 115}