var/cache/dev/twig/f7/f75ea3c2dd00a46a30a1e6f92c3a0317.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. /* account/send_password_recovery_mail.html.twig */
  14. class __TwigTemplate_b6e390aed893fde45496c7787d943417 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 "layouts/layout.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/send_password_recovery_mail.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/send_password_recovery_mail.html.twig"));
  40.         $this->parent $this->loadTemplate("layouts/layout.html.twig""account/send_password_recovery_mail.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 4
  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 5
  56.         echo "
  57.     <div class=\"text-center\">
  58.         <div class=\"form-signin mb-5\">
  59.             <form method=\"post\">
  60.                 <h1 class=\"display-3 mb-3 font-weight-normal\">";
  61.         // line 11
  62.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("account.password-recovery"), "html"nulltrue);
  63.         echo "</h1>
  64.                 <input type=\"email\" id=\"email\" name=\"email\" required=\"required\" class=\"form-control\" value=\"";
  65.         // line 12
  66.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["emailPrefill"]) || array_key_exists("emailPrefill"$context) ? $context["emailPrefill"] : (function () { throw new RuntimeError('Variable "emailPrefill" does not exist.'12$this->source); })()), 12$this->source), "html"nulltrue);
  67.         echo "\" />
  68.                 <div class=\"form-group\">
  69.                     <button type=\"submit\" id=\"_submit\" name=\"_submit\" class=\"btn-success btn-lg btn-block mt-4 btn\">";
  70.         // line 15
  71.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("account.send-recovery-mail"), "html"nulltrue);
  72.         echo "</button>
  73.                 </div>
  74.             </form>
  75.         </div>
  76.     </div>
  77. ";
  78.         
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  80.         
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  82.     }
  83.     public function getTemplateName()
  84.     {
  85.         return "account/send_password_recovery_mail.html.twig";
  86.     }
  87.     public function isTraitable()
  88.     {
  89.         return false;
  90.     }
  91.     public function getDebugInfo()
  92.     {
  93.         return array (  88 => 15,  82 => 12,  78 => 11,  70 => 5,  60 => 4,  37 => 1,);
  94.     }
  95.     public function getSourceContext()
  96.     {
  97.         return new Source("{% extends 'layouts/layout.html.twig' %}
  98. {% block content %}
  99.     <div class=\"text-center\">
  100.         <div class=\"form-signin mb-5\">
  101.             <form method=\"post\">
  102.                 <h1 class=\"display-3 mb-3 font-weight-normal\">{{ 'account.password-recovery' | trans }}</h1>
  103.                 <input type=\"email\" id=\"email\" name=\"email\" required=\"required\" class=\"form-control\" value=\"{{ emailPrefill }}\" />
  104.                 <div class=\"form-group\">
  105.                     <button type=\"submit\" id=\"_submit\" name=\"_submit\" class=\"btn-success btn-lg btn-block mt-4 btn\">{{ 'account.send-recovery-mail' | trans }}</button>
  106.                 </div>
  107.             </form>
  108.         </div>
  109.     </div>
  110. {% endblock %}""account/send_password_recovery_mail.html.twig""/var/www/www-data/data/www/pimcore.dev2.nowmedia.ru/templates/account/send_password_recovery_mail.html.twig");
  111.     }
  112.     
  113.     public function checkSecurity()
  114.     {
  115.         static $tags = array();
  116.         static $filters = array("escape" => 11"trans" => 11);
  117.         static $functions = array();
  118.         try {
  119.             $this->sandbox->checkSecurity(
  120.                 [],
  121.                 ['escape''trans'],
  122.                 []
  123.             );
  124.         } catch (SecurityError $e) {
  125.             $e->setSourceContext($this->source);
  126.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  127.                 $e->setTemplateLine($tags[$e->getTagName()]);
  128.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  129.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  130.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  131.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  132.             }
  133.             throw $e;
  134.         }
  135.     }
  136. }