var/cache/dev/twig/06/064dfd37bb93c82a14a0c9e13623fc13.php line 50

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. /* Account/forgotPassword.html.twig */
  14. class __TwigTemplate_403d8836bc8b795b8d2b8ab2c65e6f09 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 1
  31.         return "signin.html.twig";
  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""Account/forgotPassword.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""Account/forgotPassword.html.twig"));
  40.         $this->parent $this->loadTemplate("signin.html.twig""Account/forgotPassword.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 2
  48.     public function block_content($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  55.         // line 3
  56.         echo "    <div class=\"container\">
  57.       <a href=\"/";
  58.         // line 4
  59.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["locale"]) || array_key_exists("locale"$context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.'4$this->source); })()), 4$this->source), "html"nulltrue);
  60.         echo "\"><img class=\"signin-logo\" src=\"/SA_logo_inst_Positive_RGB.png\" width=\"282\"  alt=\"image description\"></a>
  61.       <div class=\"item-container forgot-password-form-wrapper forgot\">
  62.         <div class=\"row form-container\">
  63.           <div class=\"form-info\">
  64.             <h1>";
  65.         // line 8
  66.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""headline");
  67.         echo "</h1>
  68.             <h2>";
  69.         // line 9
  70.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""subline");
  71.         echo "</h2>
  72.           </div>
  73.           <p class=\"error-message-wrapper\"><span class=\"error-message\">";
  74.         // line 11
  75.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["errormessage"]) || array_key_exists("errormessage"$context) ? $context["errormessage"] : (function () { throw new RuntimeError('Variable "errormessage" does not exist.'11$this->source); })()), 11$this->source), "html"nulltrue);
  76.         echo "</span></p>
  77.           <form class=\"cart-form\" action=\"/";
  78.         // line 12
  79.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["locale"]) || array_key_exists("locale"$context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.'12$this->source); })()), 12$this->source), "html"nulltrue);
  80.         echo "/account/forgot-password\" method=\"post\">
  81.             ";
  82.         // line 13
  83.         if ((isset($context["editpassword"]) || array_key_exists("editpassword"$context) ? $context["editpassword"] : (function () { throw new RuntimeError('Variable "editpassword" does not exist.'13$this->source); })())) {
  84.             // line 14
  85.             echo "                <div class=\"form-row\">
  86.                   <h4>";
  87.             // line 15
  88.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("espirits.login.create-password"), "html"nulltrue);
  89.             echo " *</h4>
  90.                   <label>
  91.                     <input type=\"password\" name=\"password\" placeholder=\" ";
  92.             // line 17
  93.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("espirits.login.password"), "html"nulltrue);
  94.             echo "\" required>
  95.                   </label>
  96.                   <div class=\"form-note\">";
  97.             // line 19
  98.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""pwrequirement");
  99.             echo "</div>
  100.                 </div>
  101.                 <div class=\"form-row\">
  102.                     <h4>";
  103.             // line 23
  104.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("espirits.login.verify-password"), "html"nulltrue);
  105.             echo " *</h4>
  106.                     <label>
  107.                       <input type=\"password\" name=\"passwordverify\" placeholder=\"";
  108.             // line 25
  109.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("espirits.login.verify-password"), "html"nulltrue);
  110.             echo "\" required>
  111.                     </label>
  112.                 </div>
  113.             ";
  114.         } else {
  115.             // line 29
  116.             echo "              <label><h4>";
  117.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("espirits.login.email"), "html"nulltrue);
  118.             echo " *</h4>
  119.                 <input type=\"email\" name=\"email\" required>
  120.               </label>
  121.             ";
  122.         }
  123.         // line 33
  124.         echo "            <button type=\"submit\" name=\"continue\" class=\"btn\">";
  125.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("espirits.login.continue"), "html"nulltrue);
  126.         echo "</button>
  127.             <div class=\"disclaimer\">
  128.               ";
  129.         // line 35
  130.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""disclaimer");
  131.         echo "
  132.             </div>
  133.           </form>
  134.         </div>
  135.       </div>
  136.     </div>
  137. ";
  138.         
  139.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  140.         
  141.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  142.     }
  143.     /**
  144.      * @codeCoverageIgnore
  145.      */
  146.     public function getTemplateName()
  147.     {
  148.         return "Account/forgotPassword.html.twig";
  149.     }
  150.     /**
  151.      * @codeCoverageIgnore
  152.      */
  153.     public function isTraitable()
  154.     {
  155.         return false;
  156.     }
  157.     /**
  158.      * @codeCoverageIgnore
  159.      */
  160.     public function getDebugInfo()
  161.     {
  162.         return array (  145 => 35,  139 => 33,  131 => 29,  124 => 25,  119 => 23,  112 => 19,  107 => 17,  102 => 15,  99 => 14,  97 => 13,  93 => 12,  89 => 11,  84 => 9,  80 => 8,  73 => 4,  70 => 3,  60 => 2,  37 => 1,);
  163.     }
  164.     public function getSourceContext()
  165.     {
  166.         return new Source("{% extends 'signin.html.twig' %}
  167. {% block content %}
  168.     <div class=\"container\">
  169.       <a href=\"/{{ locale }}\"><img class=\"signin-logo\" src=\"/SA_logo_inst_Positive_RGB.png\" width=\"282\"  alt=\"image description\"></a>
  170.       <div class=\"item-container forgot-password-form-wrapper forgot\">
  171.         <div class=\"row form-container\">
  172.           <div class=\"form-info\">
  173.             <h1>{{ pimcore_input(\"headline\") }}</h1>
  174.             <h2>{{ pimcore_input(\"subline\") }}</h2>
  175.           </div>
  176.           <p class=\"error-message-wrapper\"><span class=\"error-message\">{{ errormessage }}</span></p>
  177.           <form class=\"cart-form\" action=\"/{{ locale }}/account/forgot-password\" method=\"post\">
  178.             {% if editpassword %}
  179.                 <div class=\"form-row\">
  180.                   <h4>{{ \"espirits.login.create-password\"|trans }} *</h4>
  181.                   <label>
  182.                     <input type=\"password\" name=\"password\" placeholder=\" {{ \"espirits.login.password\"|trans }}\" required>
  183.                   </label>
  184.                   <div class=\"form-note\">{{ pimcore_input(\"pwrequirement\") }}</div>
  185.                 </div>
  186.                 <div class=\"form-row\">
  187.                     <h4>{{ \"espirits.login.verify-password\"|trans }} *</h4>
  188.                     <label>
  189.                       <input type=\"password\" name=\"passwordverify\" placeholder=\"{{ \"espirits.login.verify-password\"|trans }}\" required>
  190.                     </label>
  191.                 </div>
  192.             {% else %}
  193.               <label><h4>{{ \"espirits.login.email\"|trans }} *</h4>
  194.                 <input type=\"email\" name=\"email\" required>
  195.               </label>
  196.             {% endif %}
  197.             <button type=\"submit\" name=\"continue\" class=\"btn\">{{ \"espirits.login.continue\"|trans }}</button>
  198.             <div class=\"disclaimer\">
  199.               {{ pimcore_wysiwyg(\"disclaimer\") }}
  200.             </div>
  201.           </form>
  202.         </div>
  203.       </div>
  204.     </div>
  205. {% endblock %}
  206. ""Account/forgotPassword.html.twig""/var/www/vhosts/centricdxb.com/pim2.centricdxb.com/templates/Account/forgotPassword.html.twig");
  207.     }
  208.     
  209.     public function checkSecurity()
  210.     {
  211.         static $tags = array("if" => 13);
  212.         static $filters = array("escape" => 4"trans" => 15);
  213.         static $functions = array("pimcore_input" => 8"pimcore_wysiwyg" => 35);
  214.         try {
  215.             $this->sandbox->checkSecurity(
  216.                 ['if'],
  217.                 ['escape''trans'],
  218.                 ['pimcore_input''pimcore_wysiwyg']
  219.             );
  220.         } catch (SecurityError $e) {
  221.             $e->setSourceContext($this->source);
  222.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  223.                 $e->setTemplateLine($tags[$e->getTagName()]);
  224.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  225.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  226.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  227.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  228.             }
  229.             throw $e;
  230.         }
  231.     }
  232. }