var/cache/website/dev/twig/97/976bd7cd4ef383fd453ba0b36abc8f940300a1b2d0a03a3230efc5550666fbf5.php line 48

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. /* pages/contact.html.twig */
  14. class __TwigTemplate_ce5ef9911ec619ff7c534a1ad7b4a2a50444564b55228af694e1722d0c6160fc 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 "base.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""pages/contact.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""pages/contact.html.twig"));
  38.         $this->parent $this->loadTemplate("base.html.twig""pages/contact.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 "\t<form action=\"\" data-focus-first-invalid data-animated-submission>
  55. \t\t";
  56.         // line 5
  57.         $context['_parent'] = $context;
  58.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, ($context["content"] ?? null), "blocks", [], "any"falsefalsefalse5));
  59.         $context['loop'] = [
  60.           'parent' => $context['_parent'],
  61.           'index0' => 0,
  62.           'index'  => 1,
  63.           'first'  => true,
  64.         ];
  65.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  66.             $length count($context['_seq']);
  67.             $context['loop']['revindex0'] = $length 1;
  68.             $context['loop']['revindex'] = $length;
  69.             $context['loop']['length'] = $length;
  70.             $context['loop']['last'] = === $length;
  71.         }
  72.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  73.             // line 6
  74.             echo "\t\t\t";
  75.             echo twig_include($this->env$context, (("pages/blocks/" twig_get_attribute($this->env$this->source$context["item"], "type", [], "any"falsefalsefalse6)) . ".html.twig"), ["content" =>             // line 7
  76. $context["item"], "index" => twig_get_attribute($this->env$this->source,             // line 8
  77. $context["loop"], "index", [], "any"falsefalsefalse8)]);
  78.             // line 9
  79.             echo "
  80. \t\t";
  81.             ++$context['loop']['index0'];
  82.             ++$context['loop']['index'];
  83.             $context['loop']['first'] = false;
  84.             if (isset($context['loop']['length'])) {
  85.                 --$context['loop']['revindex0'];
  86.                 --$context['loop']['revindex'];
  87.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  88.             }
  89.         }
  90.         $_parent $context['_parent'];
  91.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  92.         $context array_intersect_key($context$_parent) + $_parent;
  93.         // line 11
  94.         echo "\t</form>
  95. ";
  96.         
  97.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  98.         
  99.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  100.     }
  101.     public function getTemplateName()
  102.     {
  103.         return "pages/contact.html.twig";
  104.     }
  105.     public function isTraitable()
  106.     {
  107.         return false;
  108.     }
  109.     public function getDebugInfo()
  110.     {
  111.         return array (  108 => 11,  93 => 9,  91 => 8,  90 => 7,  88 => 6,  71 => 5,  68 => 4,  58 => 3,  35 => 1,);
  112.     }
  113.     public function getSourceContext()
  114.     {
  115.         return new Source("{% extends \"base.html.twig\" %}
  116. {% block content %}
  117. \t<form action=\"\" data-focus-first-invalid data-animated-submission>
  118. \t\t{% for item in content.blocks %}
  119. \t\t\t{{ include('pages/blocks/' ~ item.type ~ '.html.twig', {
  120. \t\t\t\t content : item,
  121. \t\t\t\t index : loop.index
  122. \t\t\t}) }}
  123. \t\t{% endfor %}
  124. \t</form>
  125. {% endblock %}""pages/contact.html.twig""/home/clients/6069f7d890ad1893915d376cf7e5b903/var/www/bn-invest-commercial/templates/pages/contact.html.twig");
  126.     }
  127. }