var/cache/dev/twig/fc/fc6dd6ddea80325d799070605214d0ab.php line 40

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. /* @CoreShopFrontend/Register/password-reset-request.html.twig */
  14. class __TwigTemplate_e91fea4829eeb33da8d2d79252bc7355 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.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 6
  31.         return $this->loadTemplate((isset($context["_layout"]) || array_key_exists("_layout"$context) ? $context["_layout"] : (function () { throw new RuntimeError('Variable "_layout" does not exist.'6$this->source); })()), "@CoreShopFrontend/Register/password-reset-request.html.twig"6);
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CoreShopFrontend/Register/password-reset-request.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CoreShopFrontend/Register/password-reset-request.html.twig"));
  40.         // line 1
  41.         if (Pimcore\Model\Site::isSiteRequest()) {
  42.             // line 2
  43.             $context["_layout"] = "seikoclub/layout.html.twig";
  44.         } else {
  45.             // line 4
  46.             $context["_layout"] = "@CoreShopFrontend/layout.html.twig";
  47.         }
  48.         // line 7
  49.         $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'7$this->source); })()), ["form/reg_login_form_layout.html.twig"], true);
  50.         // line 6
  51.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  52.         
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  54.         
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  56.     }
  57.     // line 9
  58.     public function block_content($context, array $blocks = [])
  59.     {
  60.         $macros $this->macros;
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  65.         // line 10
  66.         echo "    <div class=\"container\">
  67.         <div class=\"profile-title-row\">
  68.             <h1>PROFIL</h1>
  69.         </div>
  70.     </div>
  71.     <section id=\"regBox\">
  72.         <div class=\"container\">
  73.             <div class=\"row\">
  74.                 <div class=\"col-12 col-md-8 offset-md-2\">
  75.                     <p class=\"color-white\">Elfelejtett jelszó? Az email cím megadását követően küldünk egy
  76.                         hivatkozást, amelynek segítségével új jelszót lehet létrehozni.</p>
  77.                     <div class=\"inner\">
  78.                         ";
  79.         // line 22
  80.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock($this->sandbox->ensureToStringAllowed((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'22$this->source); })()), 22$this->source), 'form_start', ["attr" => ["novalidate" => "novalidate"]]);
  81.         echo "
  82.                         ";
  83.         // line 24
  84.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "email", [], "any"truetruetrue24)) {
  85.             // line 25
  86.             echo "                            ";
  87.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'25$this->source); })()), "email", [], "any"falsefalsetrue25), 25$this->source), 'row', ["attr" => ["placeholder" => "coreshop.ui.email_address.required"]]);
  88.             // line 29
  89.             echo "
  90.                         ";
  91.         } elseif (twig_get_attribute($this->env$this->source,         // line 30
  92. ($context["form"] ?? null), "username", [], "any"truetruetrue30)) {
  93.             // line 31
  94.             echo "                            ";
  95.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'31$this->source); })()), "username", [], "any"falsefalsetrue31), 31$this->source), 'row'$this->env->getFunction('coreshop_test_form_attribute')->getCallable()("reset-username"));
  96.             echo "
  97.                         ";
  98.         }
  99.         // line 33
  100.         echo "                        ";
  101.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'33$this->source); })()), 33$this->source), 'rest');
  102.         echo "
  103.                         <div class=\"form-group pw-req\">
  104.                             <button type=\"submit\" id=\"customer_submit\" name=\"customer[submit]\"
  105.                                     class=\"btn-primary btn btn-primary-fix\">
  106.                                 Új jelszó igénylése
  107.                             </button>
  108.                         </div>
  109.                         ";
  110.         // line 40
  111.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock($this->sandbox->ensureToStringAllowed((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'40$this->source); })()), 40$this->source), 'form_end');
  112.         echo "
  113.                     </div>
  114.                 </div>
  115.             </div>
  116.         </div>
  117.     </section>
  118. ";
  119.         
  120.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  121.         
  122.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  123.     }
  124.     public function getTemplateName()
  125.     {
  126.         return "@CoreShopFrontend/Register/password-reset-request.html.twig";
  127.     }
  128.     public function isTraitable()
  129.     {
  130.         return false;
  131.     }
  132.     public function getDebugInfo()
  133.     {
  134.         return array (  126 => 40,  115 => 33,  109 => 31,  107 => 30,  104 => 29,  101 => 25,  99 => 24,  94 => 22,  80 => 10,  70 => 9,  60 => 6,  58 => 7,  55 => 4,  52 => 2,  50 => 1,  37 => 6,);
  135.     }
  136.     public function getSourceContext()
  137.     {
  138.         return new Source("{% if pimcore_site_is_request() %}
  139.     {% set _layout = 'seikoclub/layout.html.twig' %}
  140. {% else %}
  141.     {% set _layout = '@CoreShopFrontend/layout.html.twig' %}
  142. {% endif %}
  143. {% extends _layout %}
  144. {% form_theme form 'form/reg_login_form_layout.html.twig' %}
  145. {% block content %}
  146.     <div class=\"container\">
  147.         <div class=\"profile-title-row\">
  148.             <h1>PROFIL</h1>
  149.         </div>
  150.     </div>
  151.     <section id=\"regBox\">
  152.         <div class=\"container\">
  153.             <div class=\"row\">
  154.                 <div class=\"col-12 col-md-8 offset-md-2\">
  155.                     <p class=\"color-white\">Elfelejtett jelszó? Az email cím megadását követően küldünk egy
  156.                         hivatkozást, amelynek segítségével új jelszót lehet létrehozni.</p>
  157.                     <div class=\"inner\">
  158.                         {{ form_start(form, {attr: {'novalidate': 'novalidate'}}) }}
  159.                         {% if form.email is defined %}
  160.                             {{ form_row(form.email, {
  161.                                 'attr': {
  162.                                     'placeholder': 'coreshop.ui.email_address.required'
  163.                                 }
  164.                             }) }}
  165.                         {% elseif form.username is defined %}
  166.                             {{ form_row(form.username, coreshop_test_form_attribute('reset-username')) }}
  167.                         {% endif %}
  168.                         {{ form_rest(form) }}
  169.                         <div class=\"form-group pw-req\">
  170.                             <button type=\"submit\" id=\"customer_submit\" name=\"customer[submit]\"
  171.                                     class=\"btn-primary btn btn-primary-fix\">
  172.                                 Új jelszó igénylése
  173.                             </button>
  174.                         </div>
  175.                         {{ form_end(form) }}
  176.                     </div>
  177.                 </div>
  178.             </div>
  179.         </div>
  180.     </section>
  181. {% endblock %}""@CoreShopFrontend/Register/password-reset-request.html.twig""/home/zoltan/public_html/boutique-v2/templates/seikoboutique/templates/bundles/CoreShopFrontendBundle/Register/password-reset-request.html.twig");
  182.     }
  183.     
  184.     public function checkSecurity()
  185.     {
  186.         static $tags = array("if" => 1"set" => 2"form_theme" => 7);
  187.         static $filters = array();
  188.         static $functions = array("pimcore_site_is_request" => 1"form_start" => 22"form_row" => 25"coreshop_test_form_attribute" => 31"form_rest" => 33"form_end" => 40);
  189.         try {
  190.             $this->sandbox->checkSecurity(
  191.                 ['if''set''form_theme'],
  192.                 [],
  193.                 ['pimcore_site_is_request''form_start''form_row''coreshop_test_form_attribute''form_rest''form_end']
  194.             );
  195.         } catch (SecurityError $e) {
  196.             $e->setSourceContext($this->source);
  197.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  198.                 $e->setTemplateLine($tags[$e->getTagName()]);
  199.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  200.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  201.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  202.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  203.             }
  204.             throw $e;
  205.         }
  206.     }
  207. }