var/cache/dev/twig/5d/5dc964b55799b5b3fb228326ff495170.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/send_password_recovery_mail.html.twig */
  14. class __TwigTemplate_5f834b6bfa300b93930caec15621352d 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.     /**
  84.      * @codeCoverageIgnore
  85.      */
  86.     public function getTemplateName()
  87.     {
  88.         return "account/send_password_recovery_mail.html.twig";
  89.     }
  90.     /**
  91.      * @codeCoverageIgnore
  92.      */
  93.     public function isTraitable()
  94.     {
  95.         return false;
  96.     }
  97.     /**
  98.      * @codeCoverageIgnore
  99.      */
  100.     public function getDebugInfo()
  101.     {
  102.         return array (  88 => 15,  82 => 12,  78 => 11,  70 => 5,  60 => 4,  37 => 1,);
  103.     }
  104.     public function getSourceContext()
  105.     {
  106.         return new Source("{% extends 'layouts/layout.html.twig' %}
  107. {% block content %}
  108.     <div class=\"text-center\">
  109.         <div class=\"form-signin mb-5\">
  110.             <form method=\"post\">
  111.                 <h1 class=\"display-3 mb-3 font-weight-normal\">{{ 'account.password-recovery' | trans }}</h1>
  112.                 <input type=\"email\" id=\"email\" name=\"email\" required=\"required\" class=\"form-control\" value=\"{{ emailPrefill }}\" />
  113.                 <div class=\"form-group\">
  114.                     <button type=\"submit\" id=\"_submit\" name=\"_submit\" class=\"btn-success btn-lg btn-block mt-4 btn\">{{ 'account.send-recovery-mail' | trans }}</button>
  115.                 </div>
  116.             </form>
  117.         </div>
  118.     </div>
  119. {% endblock %}""account/send_password_recovery_mail.html.twig""/var/www/html/templates/account/send_password_recovery_mail.html.twig");
  120.     }
  121.     
  122.     public function checkSecurity()
  123.     {
  124.         static $tags = array();
  125.         static $filters = array("escape" => 11"trans" => 11);
  126.         static $functions = array();
  127.         try {
  128.             $this->sandbox->checkSecurity(
  129.                 [],
  130.                 ['escape''trans'],
  131.                 []
  132.             );
  133.         } catch (SecurityError $e) {
  134.             $e->setSourceContext($this->source);
  135.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  136.                 $e->setTemplateLine($tags[$e->getTagName()]);
  137.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  138.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  139.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  140.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  141.             }
  142.             throw $e;
  143.         }
  144.     }
  145. }