{% import "@Comitium5Designer/Template/macros.html.twig" as templateMacros %}

<div class="table-responsive">
    <table class="table table-bordered table-striped" width="100%" cellspacing="0">
        <thead>
            <tr>
                <th>{{ "template_admin.fields.name"|trans }}</th>
                <th>{{ "template_admin.fields.publish_date"|trans }}</th>
                <th>{{ "template_admin.fields.state"|trans }}</th>
                <th>{{ "template_admin.fields.options"|trans }}</th>
            </tr>
        </thead>
        <tbody>
            {% for template in templates %}
                {{ templateMacros.print_template(template) }}
            {% endfor %}
        </tbody>
    </table>
</div>