{% extends 'D2ContentBundle::base_admin.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', 'from_date', 'to_date'] %} {% endif %} {% endfor %}
Displaying {{ (shoe_categories.getCurrentPageNumber()-1) * shoe_categories.getItemNumberPerPage() + 1 }} to {{ ((shoe_categories.getCurrentPageNumber()-1) * shoe_categories.getItemNumberPerPage()) + (shoe_categories.getItems()|length) }} of {{ shoe_categories.getTotalItemCount() }} Shoe Category records
{% endblock page_header %} {% block content %} {% for entity in shoe_categories %} {% endfor %}
{{ knp_pagination_sortable(shoe_categories, 'Category', 's.category') }} {{ knp_pagination_sortable(shoe_categories, 'Date', 's.create_ts') }} {{ knp_pagination_sortable(shoe_categories, 'Status', 's.enabled') }}
{{ entity.getCategory | trim }} {{ entity.getCreateTs|date("Y/m/d g:ia") }} {{ entity.getEnabled ? 'Active' : 'Inactive' }}
{% endblock content %}