var/cache/dev/twig/a5/a5b0ab3af7fefc79b4a9b0db15a1f0de63b809b949144fd535fabd67fecc863a.php line 58

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* network/profile/racetracks/listing.html.twig */
  14. class __TwigTemplate_63209364678d15db4a6475c785b44190845177fc0d140e1fcf709a4e326dab37 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'content' => [$this'block_content'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "page.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""network/profile/racetracks/listing.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""network/profile/racetracks/listing.html.twig"));
  38.         $this->parent $this->loadTemplate("page.html.twig""network/profile/racetracks/listing.html.twig"1);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  42.         
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  44.     }
  45.     // line 3
  46.     public function block_content($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         // line 4
  54.         echo "  ";
  55.         $this->loadTemplate("network/profile/components/hero.html.twig""network/profile/racetracks/listing.html.twig"4)->display($context);
  56.         // line 5
  57.         echo "
  58.   <section class=\"container flex items-center justify-between mt-12\">
  59.     <h3 class=\"text-lg font-medium uppercase md:text-xl font-headline\">
  60.       ";
  61.         // line 8
  62.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("racetrack.list.filter"), "html"nulltrue);
  63.         echo "
  64.     </h3>
  65.     ";
  66.         // line 10
  67.         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"]]);
  68.         echo "
  69.     <div class=\"my-4 w-fit\">
  70.       ";
  71.         // line 12
  72.         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"falsefalsefalse12), 'row');
  73.         echo "
  74.     </div>
  75.     ";
  76.         // line 14
  77.         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');
  78.         echo "
  79.   </section>
  80.   ";
  81.         // line 16
  82.         $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); })())]));
  83.         // line 17
  84.         echo "
  85.   <div class=\"grid my-12 mb-20 place-items-center\">
  86.     ";
  87.         // line 19
  88.         $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); })())]));
  89.         // line 20
  90.         echo "  </div>
  91. ";
  92.         
  93.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  94.         
  95.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  96.     }
  97.     public function getTemplateName()
  98.     {
  99.         return "network/profile/racetracks/listing.html.twig";
  100.     }
  101.     public function isTraitable()
  102.     {
  103.         return false;
  104.     }
  105.     public function getDebugInfo()
  106.     {
  107.         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,);
  108.     }
  109.     public function getSourceContext()
  110.     {
  111.         return new Source("{% extends 'page.html.twig' %}
  112. {% block content %}
  113.   {% include 'network/profile/components/hero.html.twig' %}
  114.   <section class=\"container flex items-center justify-between mt-12\">
  115.     <h3 class=\"text-lg font-medium uppercase md:text-xl font-headline\">
  116.       {{ 'racetrack.list.filter'|trans }}
  117.     </h3>
  118.     {{ form_start(filter, { attr: { 'data-controller': 'autosubmit' } }) }}
  119.     <div class=\"my-4 w-fit\">
  120.       {{ form_row(filter.country) }}
  121.     </div>
  122.     {{ form_end(filter) }}
  123.   </section>
  124.   {% include 'network/profile/components/listing.html.twig' with { listing: racetracks } %}
  125.   <div class=\"grid my-12 mb-20 place-items-center\">
  126.     {% include 'component/pagination.html.twig' with { pagination: racetracks } %}
  127.   </div>
  128. {% endblock %}
  129. ""network/profile/racetracks/listing.html.twig""/var/www/vhosts/3forone.ch/httpdocs/abowire/templates/network/profile/racetracks/listing.html.twig");
  130.     }
  131. }