var/cache/dev/twig/2e/2e26d6bfd73b013344bee66bdc8f73f86169cf40dff35f1f23a91df69c669980.php line 38

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. /* Default/formations.html.twig */
  14. class __TwigTemplate_af857ae273d98e3207437f048f9069b7db9039a3a638c906d561f6a08a49b214 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 5
  29.         return "Default/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""Default/formations.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""Default/formations.html.twig"));
  38.         // line 1
  39.         $context["title"] = "Formations";
  40.         // line 2
  41.         $context["menu"] = "formations";
  42.         // line 3
  43.         $macros["macros"] = $this->macros["macros"] = $this->loadTemplate("Default/macros.html.twig""Default/formations.html.twig"3)->unwrap();
  44.         // line 5
  45.         $this->parent $this->loadTemplate("Default/base.html.twig""Default/formations.html.twig"5);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 7
  53.     public function block_content($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  60.         // line 8
  61.         echo "<div class='gpadding ";
  62.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('desktop')->getCallable(), ["vt-20-in"]), "html"nulltrue);
  63.         echo " ";
  64.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('mobile')->getCallable(), ["vt-30-in"]), "html"nulltrue);
  65.         echo " '>
  66.     <div class='articles ";
  67.         // line 9
  68.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('desktop')->getCallable(), ["flex row space wrap"]), "html"nulltrue);
  69.         echo " ";
  70.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('mobile')->getCallable(), [""]), "html"nulltrue);
  71.         echo "'>
  72.         ";
  73.         // line 10
  74.         $context['_parent'] = $context;
  75.         $context['_seq'] = twig_ensure_traversable((isset($context["list"]) || array_key_exists("list"$context) ? $context["list"] : (function () { throw new RuntimeError('Variable "list" does not exist.'10$this->source); })()));
  76.         foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
  77.             // line 11
  78.             echo "        ";
  79.             echo twig_call_macro($macros["macros"], "macro_formation", [$context["o"]], 11$context$this->getSourceContext());
  80.             echo "
  81.         ";
  82.         }
  83.         $_parent $context['_parent'];
  84.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
  85.         $context array_intersect_key($context$_parent) + $_parent;
  86.         // line 13
  87.         echo "    </div>
  88. </div>
  89. ";
  90.         
  91.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  92.         
  93.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  94.     }
  95.     public function getTemplateName()
  96.     {
  97.         return "Default/formations.html.twig";
  98.     }
  99.     public function isTraitable()
  100.     {
  101.         return false;
  102.     }
  103.     public function getDebugInfo()
  104.     {
  105.         return array (  101 => 13,  92 => 11,  88 => 10,  82 => 9,  75 => 8,  65 => 7,  54 => 5,  52 => 3,  50 => 2,  48 => 1,  35 => 5,);
  106.     }
  107.     public function getSourceContext()
  108.     {
  109.         return new Source("{% set title = 'Formations' %}
  110. {% set menu = 'formations' %}
  111. {% import \"Default/macros.html.twig\" as macros %}
  112. {% extends 'Default/base.html.twig' %}
  113. {% block content %}
  114. <div class='gpadding {{desktop(\"vt-20-in\")}} {{mobile(\"vt-30-in\")}} '>
  115.     <div class='articles {{desktop(\"flex row space wrap\")}} {{mobile(\"\")}}'>
  116.         {% for o in list %}
  117.         {{macros.formation(o)}}
  118.         {% endfor %}
  119.     </div>
  120. </div>
  121. {% endblock %}
  122. ""Default/formations.html.twig""/home/olasoftnka/cefal/templates/Default/formations.html.twig");
  123.     }
  124. }