{% extends '@CpCreationVitiCore/admin/base.html.twig' %}

{% block content %}
    <form action="{{ path('admin_product_collection_edit',{id : item.id}) }}" enctype="multipart/form-data" method="POST" novalidate>
        <div class="row">
            <div class="col-md-12">
                <a href="{{path("admin_product_collection")}}"><button type="button" class="btn btn-danger btn-rounded">{{ 'Annuler'|trans }}</button></a>
                <button type="submit" class="btn btn-success btn-rounded">{{ 'Modifier'|trans }}</button>
            </div>
        </div>
        <hr>

        {{ include('@CpCreationVitiCore/admin/product/collection/_form.html.twig', {form: form, item: item}, with_context=false) }}
        <div class="row">
            <div class="col-md-12">
                <a href="{{path("admin_product_collection")}}"><button type="button" class="btn btn-danger btn-rounded">{{ 'Annuler'|trans }}</button></a>
                <button type="submit" class="btn btn-success btn-rounded">{{ 'Modifier'|trans }}</button>
            </div>
        </div>
    </form>
{% endblock %}
