{% extends 'Comitium5DesignerBundle:Template:base.html.twig' %}

{% import "@Comitium5Designer/Common/buttons.html.twig" as btn %}

{% block topbar %}
    {% embed "Comitium5DesignerBundle:Common:topbar.html.twig" %}
        {% block topbar_title %}
            {% if app.request.attributes.get('_route') == 'designer_template_edit' %}
                {{ "designer_common.action.edit.something"|trans({"%something%": "designer_common.entity.template"|transchoice(1)}) }}
            {% else %}
                {{ "designer_common.action.new.f"|trans({"%something%": "designer_common.entity.template"|transchoice(1)}) }}
            {% endif %}
        {% endblock topbar_title %}
        {% block topbar_search_input %}{% endblock %}
    {% endembed %}
{% endblock topbar %}

{% block page_content %}
    <!-- Begin Page Content -->
    <div class="container-fluid">

        <div class="my-4"></div>
        {% block form_content %}
        {% endblock form_content %}
    </div>
    <!-- /.container-fluid -->
{% endblock %}