vendor/sylius/sylius/src/Sylius/Bundle/ShopBundle/Resources/views/Product/Index/_main.html.twig line 1
{% import '@SyliusUi/Macro/messages.html.twig' as messages %}
{% import '@SyliusUi/Macro/pagination.html.twig' as pagination %}
{{ sylius_template_event('sylius.shop.product.index.search', _context) }}
<div class="ui clearing hidden divider"></div>
{{ sylius_template_event('sylius.shop.product.index.before_list', {'products': resources.data}) }}
{% if resources.data|length > 0 %}
<div class="ui three cards" id="products" {{ sylius_test_html_attribute('products') }}>
{% for product in resources.data %}
{% include '@SyliusShop/Product/_box.html.twig' %}
{% endfor %}
</div>
<div class="ui hidden divider"></div>
{{ sylius_template_event('sylius.shop.product.index.before_pagination', {'products': resources.data}) }}
{{ pagination.simple(resources.data) }}
{% else %}
{{ messages.info('sylius.ui.no_results_to_display') }}
{% endif %}