{% extends 'D2CoreBundle::base.html.twig' %} {% block head_script_extra %} {% endblock head_script_extra %} {% block page_header %}
{% for k, v in app.request.query %} {% if k|lower not in ['search', 'page', 'enabled'] %} {% endif %} {% endfor %}
Displaying {{ (city_list.getCurrentPageNumber()-1) * city_list.getItemNumberPerPage() + 1 }} to {{ ((city_list.getCurrentPageNumber()-1) * city_list.getItemNumberPerPage()) + (city_list.getItems()|length) }} of {{ city_list.getTotalItemCount() }} records
{% endblock page_header %} {% block content %} {% for entity in city_list %} {% endfor %}
{{ knp_pagination_sortable(city_list, 'City', 'c.city') }} {{ knp_pagination_sortable(city_list, 'Province', 'p.province') }} {{ knp_pagination_sortable(city_list, 'Country', 'ct.country') }} {{ knp_pagination_sortable(city_list, 'Code', 'ct.code') }}
{{ entity.city|trim }} {{ entity.province|trim }} {{ entity.country|trim }} {{ entity.country_code|trim }} {% if is_granted('ROLE_ADMIN_SETTINGS_EDIT') %}
{% endif %}
{% endblock content %}