<?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;
/* network/profile/racetracks/listing.html.twig */
class __TwigTemplate_63209364678d15db4a6475c785b44190845177fc0d140e1fcf709a4e326dab37 extends 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 "page.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "network/profile/racetracks/listing.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "network/profile/racetracks/listing.html.twig"));
$this->parent = $this->loadTemplate("page.html.twig", "network/profile/racetracks/listing.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 4
echo " ";
$this->loadTemplate("network/profile/components/hero.html.twig", "network/profile/racetracks/listing.html.twig", 4)->display($context);
// line 5
echo "
<section class=\"container flex items-center justify-between mt-12\">
<h3 class=\"text-lg font-medium uppercase md:text-xl font-headline\">
";
// line 8
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("racetrack.list.filter"), "html", null, true);
echo "
</h3>
";
// line 10
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["filter"]) || array_key_exists("filter", $context) ? $context["filter"] : (function () { throw new RuntimeError('Variable "filter" does not exist.', 10, $this->source); })()), 'form_start', ["attr" => ["data-controller" => "autosubmit"]]);
echo "
<div class=\"my-4 w-fit\">
";
// line 12
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["filter"]) || array_key_exists("filter", $context) ? $context["filter"] : (function () { throw new RuntimeError('Variable "filter" does not exist.', 12, $this->source); })()), "country", [], "any", false, false, false, 12), 'row');
echo "
</div>
";
// line 14
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["filter"]) || array_key_exists("filter", $context) ? $context["filter"] : (function () { throw new RuntimeError('Variable "filter" does not exist.', 14, $this->source); })()), 'form_end');
echo "
</section>
";
// line 16
$this->loadTemplate("network/profile/components/listing.html.twig", "network/profile/racetracks/listing.html.twig", 16)->display(twig_array_merge($context, ["listing" => (isset($context["racetracks"]) || array_key_exists("racetracks", $context) ? $context["racetracks"] : (function () { throw new RuntimeError('Variable "racetracks" does not exist.', 16, $this->source); })())]));
// line 17
echo "
<div class=\"grid my-12 mb-20 place-items-center\">
";
// line 19
$this->loadTemplate("component/pagination.html.twig", "network/profile/racetracks/listing.html.twig", 19)->display(twig_array_merge($context, ["pagination" => (isset($context["racetracks"]) || array_key_exists("racetracks", $context) ? $context["racetracks"] : (function () { throw new RuntimeError('Variable "racetracks" does not exist.', 19, $this->source); })())]));
// line 20
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "network/profile/racetracks/listing.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 104 => 20, 102 => 19, 98 => 17, 96 => 16, 91 => 14, 86 => 12, 81 => 10, 76 => 8, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'page.html.twig' %}
{% block content %}
{% include 'network/profile/components/hero.html.twig' %}
<section class=\"container flex items-center justify-between mt-12\">
<h3 class=\"text-lg font-medium uppercase md:text-xl font-headline\">
{{ 'racetrack.list.filter'|trans }}
</h3>
{{ form_start(filter, { attr: { 'data-controller': 'autosubmit' } }) }}
<div class=\"my-4 w-fit\">
{{ form_row(filter.country) }}
</div>
{{ form_end(filter) }}
</section>
{% include 'network/profile/components/listing.html.twig' with { listing: racetracks } %}
<div class=\"grid my-12 mb-20 place-items-center\">
{% include 'component/pagination.html.twig' with { pagination: racetracks } %}
</div>
{% endblock %}
", "network/profile/racetracks/listing.html.twig", "/var/www/vhosts/3forone.ch/httpdocs/abowire/templates/network/profile/racetracks/listing.html.twig");
}
}