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

{% block content -%}
    <h4>Edition d'un travaux</h4>

    {{ form_start(edit_form) }}
        <div class="motion print web">
            {{ form_row(edit_form.portfolioType) }}
        </div>
        <div class="imageHeader print web">
        <ul class="small-block-grid-6 medium-block-grid-6">
            {% for image in entity.images[:1] %}
                <li>
                    {% include 'PortfolioLaureBundle:Partial:admin.image.html.twig' %}
                </li>
            {% endfor %}
        </ul>
        </div>
        <div class="motion">
            {{ form_row(edit_form.videoLinkHeader) }}
        </div>
        <div class="print web">
            {{ form_row(edit_form.title) }}
        </div>
        <div class="print web">
            {{ form_row(edit_form.type) }}
        </div>
        <div class="motion print web">
            {{ form_row(edit_form.description) }}
        </div>
        <div class="web">
            {{ form_row(edit_form.descriptionDetail) }}
            {{ form_row(edit_form.videoLink) }}
            {{ form_row(edit_form.siteLink) }}
        </div>
        <ul class="small-block-grid-6 medium-block-grid-6">
            {% for image in entity.images[1:6] %}
                <li>
                    Image {{ loop.index }}
                    {% include 'PortfolioLaureBundle:Partial:admin.image.html.twig' %}
                </li>
            {% endfor %}a
        </ul>
        {{ form_row(edit_form._token) }}
        <button type="submit">Valider</button>
    </form>

    <a href="{{ path('portfolio') }}">
        Back to the list
    </a>
    {{ form(delete_form) }}
{% endblock %}<commit_msg>add delete button<commit_after>{% extends '::baseAdmin.html.twig' %}

{% block content -%}
    <h4>Edition d'un travaux</h4>
    <a href="{{ path('portfolio') }}">
        Back to the list
    </a>
    {{ form_start(edit_form) }}
        <div class="motion print web">
            {{ form_row(edit_form.portfolioType) }}
        </div>
        <div class="imageHeader print web">
        <ul class="small-block-grid-6 medium-block-grid-6">
            {% for image in entity.images[:1] %}
                <li>
                    {% include 'PortfolioLaureBundle:Partial:admin.image.html.twig' %}
                </li>
            {% endfor %}
        </ul>
        </div>
        <div class="motion">
            {{ form_row(edit_form.videoLinkHeader) }}
        </div>
        <div class="print web">
            {{ form_row(edit_form.title) }}
        </div>
        <div class="print web">
            {{ form_row(edit_form.type) }}
        </div>
        <div class="motion print web">
            {{ form_row(edit_form.description) }}
        </div>
        <div class="web">
            {{ form_row(edit_form.descriptionDetail) }}
            {{ form_row(edit_form.videoLink) }}
            {{ form_row(edit_form.siteLink) }}
        </div>
        <ul class="small-block-grid-6 medium-block-grid-6">
            {% for image in entity.images[1:6] %}
                <li>
                    Image {{ loop.index }}
                    {% include 'PortfolioLaureBundle:Partial:admin.image.html.twig' %}
                </li>
            {% endfor %}
        </ul>
        {{ form_row(edit_form._token) }}
        <button type="submit">Valider</button>
    </form>
    <a href="{{ path('portfolio_delete', {'id': entity.id}) }}" class="button alert">Supprimer</a>
{% endblock %}
{'fraction_non_alphanumeric': 0.1631368059530624, 'fraction_numerical': 0.005151688609044075, 'mean_word_length': 1.7135093167701863, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, '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': '7059681', 'n_tokens_mistral': 1109, 'n_tokens_neox': 1054, 'n_words': 185}