var/cache/dev/twig/4c/4c220e1305f35a8cd24ff4c18fef878b.php line 126

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* @FOSUser/Registration/register.html.twig */
  16. class __TwigTemplate_90afab9f5ccf7d3fef1dea1c19d2a807 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'breadcrumbs' => [$this'block_breadcrumbs'],
  29.             'content' => [$this'block_content'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33.     {
  34.         // line 1
  35.         return "@KinuInkAlumni/layout.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = []): iterable
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@FOSUser/Registration/register.html.twig"));
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@FOSUser/Registration/register.html.twig"));
  44.         $this->parent $this->loadTemplate("@KinuInkAlumni/layout.html.twig""@FOSUser/Registration/register.html.twig"1);
  45.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 3
  52.     /**
  53.      * @return iterable<null|scalar|\Stringable>
  54.      */
  55.     public function block_breadcrumbs(array $context, array $blocks = []): iterable
  56.     {
  57.         $macros $this->macros;
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumbs"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumbs"));
  62.         // line 4
  63.         yield "    ";
  64.         $context["homepagePageNode"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["nodemenu"]) || array_key_exists("nodemenu"$context) ? $context["nodemenu"] : (function () { throw new RuntimeError('Variable "nodemenu" does not exist.'4$this->source); })()), "getNodeByInternalName", ["homepage"], "method"falsefalsefalse4);
  65.         // line 5
  66.         yield "    <nav aria-label=\"breadcrumb\" role=\"navigation\">
  67.         <div class=\"container\">
  68.             <ol class=\"breadcrumb\">
  69.                 <li class=\"breadcrumb-item\"><a href=\"";
  70.         // line 8
  71.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_slug", ["url" => CoreExtension::getAttribute($this->env$this->source, (isset($context["homepagePageNode"]) || array_key_exists("homepagePageNode"$context) ? $context["homepagePageNode"] : (function () { throw new RuntimeError('Variable "homepagePageNode" does not exist.'8$this->source); })()), "slug", [], "any"falsefalsefalse8)]), "html"nulltrue);
  72.         yield "\"><i class=\"icon-home\"></i></a></li>
  73.                 <li class=\"breadcrumb-item active\" aria-current=\"page\">Formulaire d'inscriptin</li>
  74.             </ol>
  75.         </div>
  76.     </nav>
  77. ";
  78.         
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  80.         
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  82.         yield from [];
  83.     }
  84.     // line 15
  85.     /**
  86.      * @return iterable<null|scalar|\Stringable>
  87.      */
  88.     public function block_content(array $context, array $blocks = []): iterable
  89.     {
  90.         $macros $this->macros;
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  92.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  94.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  95.         // line 16
  96.         yield "   ";
  97.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'16$this->source); })()), "request", [], "any"falsefalsefalse16), "attributes", [], "any"falsefalsefalse16), "get", ["_route"], "method"falsefalsefalse16) == "annonce_registration_register")) {
  98.             yield 
  99.     ";
  100.             // line 17
  101.             yield from $this->loadTemplate("@AcmeOffres/FOSUserBundle/Registration/register_content.html.twig""@FOSUser/Registration/register.html.twig"17)->unwrap()->yield($context);
  102.             // line 18
  103.             yield "   ";
  104.         } else {
  105.             // line 19
  106.             yield "   ";
  107.             yield Twig\Extension\CoreExtension::include($this->env$context"@KinuInkAlumni/FOSUserBundle/Registration/register_content.html.twig");
  108.             yield "
  109.    ";
  110.         }
  111.         
  112.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  113.         
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  115.         yield from [];
  116.     }
  117.     /**
  118.      * @codeCoverageIgnore
  119.      */
  120.     public function getTemplateName(): string
  121.     {
  122.         return "@FOSUser/Registration/register.html.twig";
  123.     }
  124.     /**
  125.      * @codeCoverageIgnore
  126.      */
  127.     public function isTraitable(): bool
  128.     {
  129.         return false;
  130.     }
  131.     /**
  132.      * @codeCoverageIgnore
  133.      */
  134.     public function getDebugInfo(): array
  135.     {
  136.         return array (  125 => 19,  122 => 18,  120 => 17,  115 => 16,  102 => 15,  85 => 8,  80 => 5,  77 => 4,  64 => 3,  41 => 1,);
  137.     }
  138.     public function getSourceContext(): Source
  139.     {
  140.         return new Source("{% extends \"@KinuInkAlumni/layout.html.twig\" %}
  141. {% block breadcrumbs %}
  142.     {% set homepagePageNode = nodemenu.getNodeByInternalName('homepage') %}
  143.     <nav aria-label=\"breadcrumb\" role=\"navigation\">
  144.         <div class=\"container\">
  145.             <ol class=\"breadcrumb\">
  146.                 <li class=\"breadcrumb-item\"><a href=\"{{ path('_slug', { 'url': homepagePageNode.slug }) }}\"><i class=\"icon-home\"></i></a></li>
  147.                 <li class=\"breadcrumb-item active\" aria-current=\"page\">Formulaire d'inscriptin</li>
  148.             </ol>
  149.         </div>
  150.     </nav>
  151. {% endblock %}
  152. {% block content %}
  153.    {% if app.request.attributes.get('_route')== 'annonce_registration_register' %} 
  154.     {% include('@AcmeOffres/FOSUserBundle/Registration/register_content.html.twig') %}
  155.    {% else %}
  156.    {{ include('@KinuInkAlumni/FOSUserBundle/Registration/register_content.html.twig') }}
  157.    {% endif %}
  158. {% endblock content %}""@FOSUser/Registration/register.html.twig""/home/u363484990/domains/iut-udc.online/public_html/templates/bundles/FOSUserBundle/Registration/register.html.twig");
  159.     }
  160. }