{% extends "QbaBitCoreBundle:Form:list.html.twig" %} {% block search_columns %}
{{ form_label(searchForm.name) }} {{ form_widget(searchForm.name) }}
{{ form_row(searchForm.submit) }}
{% endblock %} {% block columns %} {{ knp_pagination_sortable(data, 'name' | trans({}, 'template_category'), 'c.name', {'direction': 'desc'}) }} {% endblock %} {% block rows %} {% for qb_template_category_row in searchForm.listData.rows %} {% set qb_template_category=qb_template_category_row.vars.data %} {{ form_widget(qb_template_category_row) }} {% if is_granted(role.edit) %} {{ qb_template_category.name }} {% else %} {{ qb_template_category.name }} {% endif %} {% else %} {{ 'no_records_founds' | trans({}, 'qbabitcore') }} {% endfor %} {% endblock %}