<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @SyliusShop/Homepage/_latestProducts.html.twig */
class __TwigTemplate_e59eef542e634f2d5e4d3df57120e3cf extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SyliusShop/Homepage/_latestProducts.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SyliusShop/Homepage/_latestProducts.html.twig"));
// line 1
echo "<h2 class=\"text-3xl font-bold\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.latest_products"), "html", null, true);
echo "</h2>
<div data-js-products-carousel-id=\"latest-products\" ";
// line 3
echo $this->env->getFunction('sylius_test_html_attribute')->getCallable()("latest-products");
echo ">
";
// line 4
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("sylius_shop_partial_product_index_latest", ["count" => 12, "template" => "@SyliusShop/Homepage/_list.html.twig"]));
echo "
</div>
<div class=\"ui hidden divider\"></div>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "@SyliusShop/Homepage/_latestProducts.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 53 => 4, 49 => 3, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<h2 class=\"text-3xl font-bold\">{{ 'sylius.ui.latest_products'|trans }}</h2>
<div data-js-products-carousel-id=\"latest-products\" {{ sylius_test_html_attribute('latest-products') }}>
{{ render(url('sylius_shop_partial_product_index_latest', {'count': 12, 'template': '@SyliusShop/Homepage/_list.html.twig'})) }}
</div>
<div class=\"ui hidden divider\"></div>
", "@SyliusShop/Homepage/_latestProducts.html.twig", "/srv/open_marketplace/templates/bundles/SyliusShopBundle/Homepage/_latestProducts.html.twig");
}
}