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

{% block buttons %}
    <div class="btn-group">
        {{ btn.add({
            text: 'designer_common.action.new.m',
            attr: {
                href: url('designer_template_create')
            },
            translation_attributes: {'%something%': 'designer_common.entity.css'|trans} })
        }}
    </div>
{% endblock %}

{% block page_content %}
    <div class="container-fluid">

        <!-- Page Heading -->
        <a href="{{ url('designer_template_create') }}" class="btn btn-primary btn-icon-split btn-md">
            <span class="text">{{ "template_admin.new_button"|trans }}</span>
        </a>

        <div class="my-4"></div>

        {{ render(url('designer_template_page', { page: app.request.query.get('page', 1), search: app.request.query.get('search', null) })) }}

    </div>
{% endblock page_content %}