var/cache/review/twig/7b/7bae83b1b7301523612d20260550771d.php line 52

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. /* security/receive_password.twig */
  14. class __TwigTemplate_aa8f144dc951da3129d9311751b18fed 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.             'title' => [$this'block_title'],
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  36.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/receive_password.twig"));
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/receive_password.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/receive_password.twig"));
  41.         $this->parent $this->loadTemplate("base.html.twig""security/receive_password.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 3
  51.     public function block_title($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  55.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  60.         echo "Receive password";
  61.         
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  63.         
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  65.         
  66.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  67.     }
  68.     // line 5
  69.     public function block_body($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  73.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  76.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  78.         // line 6
  79.         echo "    <form method=\"post\">
  80.         ";
  81.         // line 7
  82.         if ((isset($context["email"]) || array_key_exists("email"$context) ? $context["email"] : (function () { throw new RuntimeError('Variable "email" does not exist.'7$this->source); })())) {
  83.             // line 8
  84.             echo "            <div class=\"alert alert-danger\">Email ";
  85.             echo twig_escape_filter($this->env, (isset($context["email"]) || array_key_exists("email"$context) ? $context["email"] : (function () { throw new RuntimeError('Variable "email" does not exist.'8$this->source); })()), "html"nulltrue);
  86.             echo " not found!</div>
  87.         ";
  88.         }
  89.         // line 10
  90.         echo "        <h1 class=\"h3 mb-3 font-weight-normal\">Receive your password</h1>
  91.         <label for=\"inputEmail\" class=\"sr-only\">Email</label>
  92.         <input type=\"email\" name=\"email\" id=\"inputEmail\" class=\"form-control\" placeholder=\"Email\" value=\"";
  93.         // line 12
  94.         echo twig_escape_filter($this->env, (isset($context["email"]) || array_key_exists("email"$context) ? $context["email"] : (function () { throw new RuntimeError('Variable "email" does not exist.'12$this->source); })()), "html"nulltrue);
  95.         echo "\" required autofocus>
  96.         <button class=\"btn btn-lg btn-link\">
  97.             <a href=\"";
  98.         // line 15
  99.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
  100.         echo "\">Назад</a>
  101.         </button>
  102.         <button class=\"btn btn-lg btn-primary\" type=\"submit\">
  103.             Receive
  104.         </button>
  105.     </form>
  106. ";
  107.         
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  109.         
  110.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  111.         
  112.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  113.     }
  114.     /**
  115.      * @codeCoverageIgnore
  116.      */
  117.     public function getTemplateName()
  118.     {
  119.         return "security/receive_password.twig";
  120.     }
  121.     /**
  122.      * @codeCoverageIgnore
  123.      */
  124.     public function isTraitable()
  125.     {
  126.         return false;
  127.     }
  128.     /**
  129.      * @codeCoverageIgnore
  130.      */
  131.     public function getDebugInfo()
  132.     {
  133.         return array (  124 => 15,  118 => 12,  114 => 10,  108 => 8,  106 => 7,  103 => 6,  90 => 5,  65 => 3,  36 => 1,);
  134.     }
  135.     public function getSourceContext()
  136.     {
  137.         return new Source("{% extends 'base.html.twig' %}
  138. {% block title %}Receive password{% endblock %}
  139. {% block body %}
  140.     <form method=\"post\">
  141.         {% if email %}
  142.             <div class=\"alert alert-danger\">Email {{ email }} not found!</div>
  143.         {% endif %}
  144.         <h1 class=\"h3 mb-3 font-weight-normal\">Receive your password</h1>
  145.         <label for=\"inputEmail\" class=\"sr-only\">Email</label>
  146.         <input type=\"email\" name=\"email\" id=\"inputEmail\" class=\"form-control\" placeholder=\"Email\" value=\"{{ email }}\" required autofocus>
  147.         <button class=\"btn btn-lg btn-link\">
  148.             <a href=\"{{ path('login') }}\">Назад</a>
  149.         </button>
  150.         <button class=\"btn btn-lg btn-primary\" type=\"submit\">
  151.             Receive
  152.         </button>
  153.     </form>
  154. {% endblock %}""security/receive_password.twig""/app/templates/security/receive_password.twig");
  155.     }
  156. }