<section class="homepage-last-products container">
    <h2 class="homepage-title h2">{{ 'sylius.ui.latest_products'|trans }}</h2>

    <div {{ sylius_test_html_attribute('latest-products') }}>
        {{ render(url('sylius_shop_partial_product_index_latest', {'count': 4, 'template': '@SyliusShop/Homepage/_list.html.twig'})) }}
    </div>

    <div class="btn-wrapper">
        <a href="{{ path('sylius_shop_product_index', {'slug': 'boutique/nouveautes'}) }}" class="btn btn-primary">{{ 'app.ui.homepage.latest_product_btn'|trans }} ›</a>
    </div>
</section>

