{% extends 'D2ShopBundle::base_admin.html.twig' %} {% block head_script_extra %} {% endblock head_script_extra %} {% block page_header %}
{{ with_selected_form('shop_product_attribute_list') }}

{% for k, v in app.request.query %} {% if k|lower not in ['search', 'page', 'status', 'approved', 'account'] %} {% endif %} {% endfor %}
New
Displaying {{ (shop_attributes.getCurrentPageNumber()-1) * shop_attributes.getItemNumberPerPage() + 1 }} to {{ ((shop_attributes.getCurrentPageNumber()-1) * shop_attributes.getItemNumberPerPage()) + (shop_attributes.getItems()|length) }} of {{ shop_attributes.getTotalItemCount() }} {% trans %}Product Attribute{% endtrans %} records
{% endblock page_header %} {% block content %}
{% for entity in shop_attributes %} {% endfor %}
{{ knp_pagination_sortable(shop_attributes, 'Attribute Name', 'a.attribute_name') }} Attribute Options
{{ with_selected_checkbox('shop_product_attribute_list', entity.id) }} {{ entity.attributeName|trim }} {% if entity.options|length > 0 %} {% for attr_option in entity.options %} [{{ attr_option.optionName|trim }}] {% endfor %} {% endif %}
{% endblock content %}