<?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;
/* Context/Shop/Country/index.html.twig */
class __TwigTemplate_68ff9cc3696186635dca9509dd2d1fbf extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@SyliusShop/layout.html.twig";
}
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", "Context/Shop/Country/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Context/Shop/Country/index.html.twig"));
// line 2
$macros["pagination"] = $this->macros["pagination"] = $this->loadTemplate("@SyliusUi/Macro/pagination.html.twig", "Context/Shop/Country/index.html.twig", 2)->unwrap();
// line 3
$macros["messages"] = $this->macros["messages"] = $this->loadTemplate("@SyliusUi/Macro/messages.html.twig", "Context/Shop/Country/index.html.twig", 3)->unwrap();
// line 4
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 4, $this->source); })()), [0 => "@SyliusUi/Form/theme.html.twig", 1 => "Context/Shop/ProductCategory/formTheme.html.twig"], true);
// line 6
$context["reviewsCount"] = 0;
// line 1
$this->parent = $this->loadTemplate("@SyliusShop/layout.html.twig", "Context/Shop/Country/index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 8
public function block_content($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(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 9
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 9, $this->source); })()), 'form_start', ["method" => "GET", "attr" => ["class" => "ui loadable form"]]);
echo "
<div class=\"ui stackable grid\">
<div class=\"four wide column\">
<div id=\"filters-vertical\" class=\"ui fluid vertical menu product-filters\">
<div class=\"ui accordion filters-accordion\">
<div class=\"title\">
<div class=\"header item\">
";
// line 16
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("bitbag_sylius_elasticsearch_plugin.ui.filter_results"), "html", null, true);
echo "
<i class=\"dropdown icon\"></i>
</div>
</div>
<div class=\"content\">
<div class=\"item\">
";
// line 22
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 22, $this->source); })()), "filters", [], "any", false, false, false, 22), 'row');
echo "
</div>
</div>
</div>
</div>
</div>
<div class=\"twelve wide column\">
<h1 class=\"ui monster section dividing header\">
";
// line 30
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["country"]) || array_key_exists("country", $context) ? $context["country"] : (function () { throw new RuntimeError('Variable "country" does not exist.', 30, $this->source); })()), "name", [], "any", false, false, false, 30), "html", null, true);
echo "
<div class=\"sub header\">
";
// line 32
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.country_description"), "html", null, true);
echo "
</div>
</h1>
<div class=\"ui segment\">
<div class=\"ui stackable grid\">
<div class=\"five wide column\">
";
// line 39
$context["route"] = "open_marketplace_shop_country_page";
// line 40
echo " ";
$context["queryParameters"] = $this->extensions['BitBag\SyliusElasticsearchPlugin\Twig\Extension\UnsetArrayElementsExtension']->unsetElements(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 40, $this->source); })()), "request", [], "any", false, false, false, 40), "query", [], "any", false, false, false, 40), "all", [], "any", false, false, false, 40), [0 => "order_by", 1 => "sort", 2 => "page"]);
// line 41
echo "
<div class=\"ui compact menu\">
<div class=\"ui simple dropdown item\">
";
// line 44
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("bitbag_sylius_elasticsearch_plugin.ui.sort"), "html", null, true);
echo "
<i class=\"dropdown icon\"></i>
<div class=\"menu\">
<a class=\"item\" href=\"";
// line 47
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 47, $this->source); })()), twig_array_merge(["code" => twig_get_attribute($this->env, $this->source, (isset($context["country"]) || array_key_exists("country", $context) ? $context["country"] : (function () { throw new RuntimeError('Variable "country" does not exist.', 47, $this->source); })()), "code", [], "any", false, false, false, 47), "order_by" => "sold_units", "sort" => "desc"], (isset($context["queryParameters"]) || array_key_exists("queryParameters", $context) ? $context["queryParameters"] : (function () { throw new RuntimeError('Variable "queryParameters" does not exist.', 47, $this->source); })()))), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("bitbag_sylius_elasticsearch_plugin.ui.bestsellers"), "html", null, true);
echo "</a>
<a class=\"item\" href=\"";
// line 48
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 48, $this->source); })()), twig_array_merge(["code" => twig_get_attribute($this->env, $this->source, (isset($context["country"]) || array_key_exists("country", $context) ? $context["country"] : (function () { throw new RuntimeError('Variable "country" does not exist.', 48, $this->source); })()), "code", [], "any", false, false, false, 48), "order_by" => "product_created_at", "sort" => "desc"], (isset($context["queryParameters"]) || array_key_exists("queryParameters", $context) ? $context["queryParameters"] : (function () { throw new RuntimeError('Variable "queryParameters" does not exist.', 48, $this->source); })()))), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("bitbag_sylius_elasticsearch_plugin.ui.newest"), "html", null, true);
echo "</a>
<a class=\"item\" href=\"";
// line 49
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 49, $this->source); })()), twig_array_merge(["code" => twig_get_attribute($this->env, $this->source, (isset($context["country"]) || array_key_exists("country", $context) ? $context["country"] : (function () { throw new RuntimeError('Variable "country" does not exist.', 49, $this->source); })()), "code", [], "any", false, false, false, 49), "order_by" => "product_created_at", "sort" => "asc"], (isset($context["queryParameters"]) || array_key_exists("queryParameters", $context) ? $context["queryParameters"] : (function () { throw new RuntimeError('Variable "queryParameters" does not exist.', 49, $this->source); })()))), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("bitbag_sylius_elasticsearch_plugin.ui.oldest"), "html", null, true);
echo "</a>
<a class=\"item\" href=\"";
// line 50
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 50, $this->source); })()), twig_array_merge(["code" => twig_get_attribute($this->env, $this->source, (isset($context["country"]) || array_key_exists("country", $context) ? $context["country"] : (function () { throw new RuntimeError('Variable "country" does not exist.', 50, $this->source); })()), "code", [], "any", false, false, false, 50), "order_by" => "price", "sort" => "desc"], (isset($context["queryParameters"]) || array_key_exists("queryParameters", $context) ? $context["queryParameters"] : (function () { throw new RuntimeError('Variable "queryParameters" does not exist.', 50, $this->source); })()))), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("bitbag_sylius_elasticsearch_plugin.ui.most_expensive"), "html", null, true);
echo "</a>
<a class=\"item\" href=\"";
// line 51
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 51, $this->source); })()), twig_array_merge(["code" => twig_get_attribute($this->env, $this->source, (isset($context["country"]) || array_key_exists("country", $context) ? $context["country"] : (function () { throw new RuntimeError('Variable "country" does not exist.', 51, $this->source); })()), "code", [], "any", false, false, false, 51), "order_by" => "price", "sort" => "asc"], (isset($context["queryParameters"]) || array_key_exists("queryParameters", $context) ? $context["queryParameters"] : (function () { throw new RuntimeError('Variable "queryParameters" does not exist.', 51, $this->source); })()))), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("bitbag_sylius_elasticsearch_plugin.ui.cheapest"), "html", null, true);
echo "</a>
</div>
</div>
</div>
";
// line 56
$context["queryParameters"] = $this->extensions['BitBag\SyliusElasticsearchPlugin\Twig\Extension\UnsetArrayElementsExtension']->unsetElements(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 56, $this->source); })()), "request", [], "any", false, false, false, 56), "query", [], "any", false, false, false, 56), "all", [], "any", false, false, false, 56), [0 => "limit", 1 => "page"]);
// line 57
echo "
<div class=\"ui compact menu\">
<div class=\"ui simple dropdown item\">
<span>";
// line 60
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("bitbag_sylius_elasticsearch_plugin.ui.per_page"), "html", null, true);
echo "</span>
<i class=\"dropdown icon\"></i>
<div class=\"menu\">
";
// line 63
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["bitbag_es_pagination_available_page_limits"]) || array_key_exists("bitbag_es_pagination_available_page_limits", $context) ? $context["bitbag_es_pagination_available_page_limits"] : (function () { throw new RuntimeError('Variable "bitbag_es_pagination_available_page_limits" does not exist.', 63, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["limit"]) {
// line 64
echo " <a class=\"item\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("open_marketplace_shop_country_page", twig_array_merge(["code" => twig_get_attribute($this->env, $this->source, (isset($context["country"]) || array_key_exists("country", $context) ? $context["country"] : (function () { throw new RuntimeError('Variable "country" does not exist.', 64, $this->source); })()), "code", [], "any", false, false, false, 64), "limit" => $context["limit"]], (isset($context["queryParameters"]) || array_key_exists("queryParameters", $context) ? $context["queryParameters"] : (function () { throw new RuntimeError('Variable "queryParameters" does not exist.', 64, $this->source); })()))), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $context["limit"], "html", null, true);
echo "</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['limit'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 66
echo " </div>
</div>
</div>
</div>
<div class=\"eleven wide column\">
<div class=\"ui search\" id=\"products-search\">
<div class=\"ui fluid large left icon input\">
";
// line 74
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 74, $this->source); })()), "name", [], "any", false, false, false, 74), 'widget', ["attr" => ["placeholder" => "sylius.ui.search", "class" => "prompt"]]);
echo "
<i class=\"search icon\"></i>
</div>
</div>
</div>
</div>
</div>
";
// line 82
if ((twig_length_filter($this->env, (isset($context["products"]) || array_key_exists("products", $context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.', 82, $this->source); })())) > 0)) {
// line 83
echo " <div class=\"category-products-grid\" id=\"products\">
";
// line 84
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["products"]) || array_key_exists("products", $context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.', 84, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
// line 85
echo " <div class=\"column\">
";
// line 86
$this->loadTemplate("@SyliusShop/Product/_box.html.twig", "Context/Shop/Country/index.html.twig", 86)->display($context);
// line 87
echo " </div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 89
echo " </div>
<div class=\"ui hidden divider\"></div>
";
// line 92
echo twig_call_macro($macros["pagination"], "macro_simple", [(isset($context["products"]) || array_key_exists("products", $context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.', 92, $this->source); })())], 92, $context, $this->getSourceContext());
echo "
";
} else {
// line 94
echo " ";
echo twig_call_macro($macros["messages"], "macro_info", ["sylius.ui.no_results_to_display"], 94, $context, $this->getSourceContext());
echo "
";
}
// line 96
echo " </div>
</div>
<button type=\"submit\" style=\"display: none\">
<i class=\"search icon\"></i>
";
// line 100
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("bitbag_sylius_elasticsearch_plugin.ui.filter"), "html", null, true);
echo "
</button>
";
// line 102
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 102, $this->source); })()), 'form_end', ["render_rest" => false]);
echo "
<div class=\"ui clearing hidden divider\"></div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Context/Shop/Country/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 291 => 102, 286 => 100, 280 => 96, 274 => 94, 269 => 92, 264 => 89, 249 => 87, 247 => 86, 244 => 85, 227 => 84, 224 => 83, 222 => 82, 211 => 74, 201 => 66, 190 => 64, 186 => 63, 180 => 60, 175 => 57, 173 => 56, 163 => 51, 157 => 50, 151 => 49, 145 => 48, 139 => 47, 133 => 44, 128 => 41, 125 => 40, 123 => 39, 113 => 32, 108 => 30, 97 => 22, 88 => 16, 77 => 9, 67 => 8, 56 => 1, 54 => 6, 52 => 4, 50 => 3, 48 => 2, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@SyliusShop/layout.html.twig' %}
{% import '@SyliusUi/Macro/pagination.html.twig' as pagination %}
{% import '@SyliusUi/Macro/messages.html.twig' as messages %}
{% form_theme form with ['@SyliusUi/Form/theme.html.twig', 'Context/Shop/ProductCategory/formTheme.html.twig'] %}
{% set reviewsCount = 0 %}
{% block content %}
{{ form_start(form, {'method': 'GET', 'attr': {'class': 'ui loadable form'}}) }}
<div class=\"ui stackable grid\">
<div class=\"four wide column\">
<div id=\"filters-vertical\" class=\"ui fluid vertical menu product-filters\">
<div class=\"ui accordion filters-accordion\">
<div class=\"title\">
<div class=\"header item\">
{{ 'bitbag_sylius_elasticsearch_plugin.ui.filter_results'|trans }}
<i class=\"dropdown icon\"></i>
</div>
</div>
<div class=\"content\">
<div class=\"item\">
{{ form_row(form.filters) }}
</div>
</div>
</div>
</div>
</div>
<div class=\"twelve wide column\">
<h1 class=\"ui monster section dividing header\">
{{ country.name }}
<div class=\"sub header\">
{{ 'app.ui.country_description'|trans }}
</div>
</h1>
<div class=\"ui segment\">
<div class=\"ui stackable grid\">
<div class=\"five wide column\">
{% set route = 'open_marketplace_shop_country_page' %}
{% set queryParameters = app.request.query.all|unset_elements(['order_by', 'sort', 'page']) %}
<div class=\"ui compact menu\">
<div class=\"ui simple dropdown item\">
{{ 'bitbag_sylius_elasticsearch_plugin.ui.sort'|trans }}
<i class=\"dropdown icon\"></i>
<div class=\"menu\">
<a class=\"item\" href=\"{{ path(route, {'code': country.code, 'order_by': 'sold_units', 'sort': 'desc'}|merge(queryParameters)) }}\">{{ 'bitbag_sylius_elasticsearch_plugin.ui.bestsellers'|trans }}</a>
<a class=\"item\" href=\"{{ path(route, {'code': country.code, 'order_by': 'product_created_at', 'sort': 'desc'}|merge(queryParameters)) }}\">{{ 'bitbag_sylius_elasticsearch_plugin.ui.newest'|trans }}</a>
<a class=\"item\" href=\"{{ path(route, {'code': country.code, 'order_by': 'product_created_at', 'sort': 'asc'}|merge(queryParameters)) }}\">{{ 'bitbag_sylius_elasticsearch_plugin.ui.oldest'|trans }}</a>
<a class=\"item\" href=\"{{ path(route, {'code': country.code, 'order_by': 'price', 'sort': 'desc'}|merge(queryParameters)) }}\">{{ 'bitbag_sylius_elasticsearch_plugin.ui.most_expensive'|trans }}</a>
<a class=\"item\" href=\"{{ path(route, {'code': country.code, 'order_by': 'price', 'sort': 'asc'}|merge(queryParameters)) }}\">{{ 'bitbag_sylius_elasticsearch_plugin.ui.cheapest'|trans }}</a>
</div>
</div>
</div>
{% set queryParameters = app.request.query.all|unset_elements(['limit', 'page']) %}
<div class=\"ui compact menu\">
<div class=\"ui simple dropdown item\">
<span>{{ 'bitbag_sylius_elasticsearch_plugin.ui.per_page'|trans }}</span>
<i class=\"dropdown icon\"></i>
<div class=\"menu\">
{% for limit in bitbag_es_pagination_available_page_limits %}
<a class=\"item\" href=\"{{ path('open_marketplace_shop_country_page', {'code': country.code, 'limit': limit}|merge(queryParameters)) }}\">{{ limit }}</a>
{% endfor %}
</div>
</div>
</div>
</div>
<div class=\"eleven wide column\">
<div class=\"ui search\" id=\"products-search\">
<div class=\"ui fluid large left icon input\">
{{ form_widget(form.name, {'attr': {'placeholder': 'sylius.ui.search', 'class': 'prompt'}}) }}
<i class=\"search icon\"></i>
</div>
</div>
</div>
</div>
</div>
{% if products|length > 0 %}
<div class=\"category-products-grid\" id=\"products\">
{% for product in products %}
<div class=\"column\">
{% include '@SyliusShop/Product/_box.html.twig' %}
</div>
{% endfor %}
</div>
<div class=\"ui hidden divider\"></div>
{{ pagination.simple(products) }}
{% else %}
{{ messages.info('sylius.ui.no_results_to_display') }}
{% endif %}
</div>
</div>
<button type=\"submit\" style=\"display: none\">
<i class=\"search icon\"></i>
{{ 'bitbag_sylius_elasticsearch_plugin.ui.filter'|trans }}
</button>
{{ form_end(form, {'render_rest': false}) }}
<div class=\"ui clearing hidden divider\"></div>
{% endblock %}
", "Context/Shop/Country/index.html.twig", "/srv/open_marketplace/templates/Context/Shop/Country/index.html.twig");
}
}