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

{% trans_default_domain 'action' %}

{% block body %}
    <header>
        <ul class="btns">
            <li class="btns-back">
                {{ m.step_back() }}
            </li>
            <li>
                <button class="btn btn-save" form="form-operationpeecategory">
                    {{ 'action.save'|trans }}
                </button>
            </li>
        </ul>
        <h1>{{ edit_form.name.vars.value }}</h1>
    </header>

    {{ form(edit_form, {'attr':{'id':'form-operationpeecategory'}}) }}

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

