{% extends 'Admin/layout.html.twig' %}
{%- import 'Admin/Form/macros.html.twig' as m -%}

{% block body %}
    <header>
        <ul class="btns">
            <li class="btns-back">
                {{ m.step_back() }}
            </li>
            <li>
                <button class="btn btn-save" form="form-menuadd">
                    {{ 'action.save'|trans({}, 'action') }}
                </button>
            </li>
        </ul>

        <h1>Formulaire de Menu</h1>
    </header>

    {{ form(form, {'attr': {'id': 'form-menuadd', 'enctype' : 'multipart/form-data'}}) }}

    <ul class="btns">
        <li>
            <button class="btn btn-save" form="form-menuadd">
                {{ 'action.save'|trans({}, 'action') }}
            </button>
        </li>
    </ul>
{% endblock %}
