var/cache/dev/twig/82/820d8522a4458d60fd5565ee77ea953de78d5cec13a6360b82063ff5c28d0931.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. /* reset_password/request.html.twig */
  14. class __TwigTemplate_23df0afc3ad7d6ad2d9e91f29d7c13624cfd4caa483899119784faca9813d156 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.             'css' => [$this'block_css'],
  25.             'body' => [$this'block_body'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "base_simple.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""reset_password/request.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""reset_password/request.html.twig"));
  40.         $this->parent $this->loadTemplate("base_simple.html.twig""reset_password/request.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_title($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  55.         echo "Educatii - Reset password";
  56.         
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  58.         
  59.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  60.     }
  61.     // line 5
  62.     public function block_css($context, array $blocks = [])
  63.     {
  64.         $macros $this->macros;
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""css"));
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""css"));
  69.         // line 6
  70.         echo "    <style>
  71.         .main-body{
  72.             margin-top: 70px;
  73.         }
  74.     </style>
  75. ";
  76.         
  77.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  78.         
  79.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  80.     }
  81.     // line 13
  82.     public function block_body($context, array $blocks = [])
  83.     {
  84.         $macros $this->macros;
  85.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  86.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  87.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  89.         // line 14
  90.         echo "    <div class=\"row \" style=\"margin-top: 70px;width: 100%\">
  91.         ";
  92.         // line 15
  93.         $context['_parent'] = $context;
  94.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'15$this->source); })()), "flashes", [=> "reset_password_error"], "method"falsefalsefalse15));
  95.         foreach ($context['_seq'] as $context["_key"] => $context["flashError"]) {
  96.             // line 16
  97.             echo "            <div class=\"alert alert-dismissible bg-light-info d-flex flex-column flex-sm-row p-5 mb-10\">
  98.                 <span class=\"svg-icon svg-icon-2hx svg-icon-light me-4 mb-5 mb-sm-0\">...</span>
  99.                 <div class=\"d-flex flex-column pe-0 pe-sm-10\">
  100.                     <h4 class=\"mb-2 light\">";
  101.             // line 21
  102.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("message"), "html"nulltrue);
  103.             echo "</h4>
  104.                     <span>";
  105.             // line 22
  106.             echo twig_escape_filter($this->env$context["flashError"], "html"nulltrue);
  107.             echo "</span>
  108.                 </div>
  109.                 <button type=\"button\" class=\"position-absolute position-sm-relative m-2 m-sm-0 top-0 end-0 btn btn-icon ms-sm-auto\" data-bs-dismiss=\"alert\">
  110.                 <span class=\"svg-icon svg-icon-1 svg-icon-info\">
  111. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\">
  112. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<rect opacity=\"0.5\" x=\"6\" y=\"17.3137\" width=\"16\" height=\"2\" rx=\"1\" transform=\"rotate(-45 6 17.3137)\" fill=\"black\"></rect>
  113. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<rect x=\"7.41422\" y=\"6\" width=\"16\" height=\"2\" rx=\"1\" transform=\"rotate(45 7.41422 6)\" fill=\"black\"></rect>
  114. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</svg>
  115. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  116.                 </button>
  117.             </div>
  118.         ";
  119.         }
  120.         $_parent $context['_parent'];
  121.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashError'], $context['_parent'], $context['loop']);
  122.         $context array_intersect_key($context$_parent) + $_parent;
  123.         // line 34
  124.         echo "
  125.     </div>
  126.     <div class=\"d-flex flex-column flex-root mb-20\">
  127.         <div class=\"d-flex flex-column flex-lg-row flex-column-fluid\">
  128.             <div class=\"d-flex flex-column flex-lg-row-auto bg-primary w-xl-600px positon-xl-relative \">
  129.                 <div class=\"d-flex flex-column position-xl-fixed top-0 bottom-0 w-xl-600px scroll-y div-main-background-login\">
  130.                     <div class=\"d-flex flex-row-fluid flex-column text-center p-10 pt-lg-20\">
  131.                         <a href=\"#\" class=\"py-9 pt-lg-20\">
  132.                             <img alt=\"Logo\" src=\"";
  133.         // line 49
  134.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/logo.png"), "html"nulltrue);
  135.         echo "\" class=\"h-40px\" />
  136.                         </a>
  137.                         <h1 class=\"fw-bolder text-white fs-2qx pb-5 pb-md-10\">";
  138.         // line 53
  139.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("welcome_msg"), "html"nulltrue);
  140.         echo "</h1>
  141.                     </div>
  142.                     <div class=\"d-flex flex-row-auto bgi-no-repeat bgi-position-x-center bgi-size-contain bgi-position-y-bottom min-h-100px min-h-lg-350px\" ></div>
  143.                 </div>
  144.             </div>
  145.             <div class=\"d-flex flex-column flex-lg-row-fluid py-10\">
  146.                 <div class=\"d-flex flex-center flex-column flex-column-fluid\">
  147.                     <div class=\"w-lg-500px p-10 p-lg-15 mx-auto w-100\" >
  148.                         <form class=\"form w-100\" action=\"";
  149.         // line 64
  150.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_forgot_password_request");
  151.         echo "\" method=\"post\">
  152.                             <div class=\"text-center mb-10\">
  153.                                 <h1 class=\"text-dark mb-3\">";
  154.         // line 67
  155.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("forget_password"), "html"nulltrue);
  156.         echo "</h1>
  157.                                 <div class=\"text-gray-400 fw-bold fs-4\">";
  158.         // line 68
  159.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Enter your email to reset your password"), "html"nulltrue);
  160.         echo "</div>
  161.                             </div>
  162.                             <div class=\"fv-row mb-10\">
  163.                                 <label class=\"form-label fw-bolder text-gray-900 fs-6\">Email</label>
  164.                                 <input class=\"form-control form-control-solid\" type=\"email\" placeholder=\"\" name=\"email\" autocomplete=\"off\" required />
  165.                                 <input type=\"hidden\" name=\"csrf\" value=\"";
  166.         // line 73
  167.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("csrf"), "html"nulltrue);
  168.         echo "\">
  169.                             </div>
  170.                             <div class=\"d-flex flex-wrap justify-content-center pb-lg-0\">
  171.                                 <button type=\"submit\" id=\"kt_password_reset_submit\" class=\"btn btn-lg btn-primary fw-bolder me-4\">
  172.                                     <span class=\"indicator-label\">";
  173.         // line 77
  174.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("submit"), "html"nulltrue);
  175.         echo "</span>
  176.                                 </button>
  177.                                 <a href=\"";
  178.         // line 79
  179.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
  180.         echo "\" class=\"btn btn-lg btn-light-primary fw-bolder\">";
  181.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cancel"), "html"nulltrue);
  182.         echo "</a>
  183.                             </div>
  184.                         </form>
  185.                     </div>
  186.                 </div>
  187.             </div>
  188.         </div>
  189.     </div>
  190. ";
  191.         
  192.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  193.         
  194.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  195.     }
  196.     public function getTemplateName()
  197.     {
  198.         return "reset_password/request.html.twig";
  199.     }
  200.     public function isTraitable()
  201.     {
  202.         return false;
  203.     }
  204.     public function getDebugInfo()
  205.     {
  206.         return array (  218 => 79,  213 => 77,  206 => 73,  198 => 68,  194 => 67,  188 => 64,  174 => 53,  167 => 49,  150 => 34,  132 => 22,  128 => 21,  121 => 16,  117 => 15,  114 => 14,  104 => 13,  89 => 6,  79 => 5,  60 => 3,  37 => 1,);
  207.     }
  208.     public function getSourceContext()
  209.     {
  210.         return new Source("{% extends 'base_simple.html.twig' %}
  211. {% block title %}Educatii - Reset password{% endblock %}
  212. {% block css %}
  213.     <style>
  214.         .main-body{
  215.             margin-top: 70px;
  216.         }
  217.     </style>
  218. {% endblock %}
  219. {% block body %}
  220.     <div class=\"row \" style=\"margin-top: 70px;width: 100%\">
  221.         {% for flashError in app.flashes('reset_password_error') %}
  222.             <div class=\"alert alert-dismissible bg-light-info d-flex flex-column flex-sm-row p-5 mb-10\">
  223.                 <span class=\"svg-icon svg-icon-2hx svg-icon-light me-4 mb-5 mb-sm-0\">...</span>
  224.                 <div class=\"d-flex flex-column pe-0 pe-sm-10\">
  225.                     <h4 class=\"mb-2 light\">{{ 'message'|trans }}</h4>
  226.                     <span>{{ flashError }}</span>
  227.                 </div>
  228.                 <button type=\"button\" class=\"position-absolute position-sm-relative m-2 m-sm-0 top-0 end-0 btn btn-icon ms-sm-auto\" data-bs-dismiss=\"alert\">
  229.                 <span class=\"svg-icon svg-icon-1 svg-icon-info\">
  230. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\">
  231. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<rect opacity=\"0.5\" x=\"6\" y=\"17.3137\" width=\"16\" height=\"2\" rx=\"1\" transform=\"rotate(-45 6 17.3137)\" fill=\"black\"></rect>
  232. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<rect x=\"7.41422\" y=\"6\" width=\"16\" height=\"2\" rx=\"1\" transform=\"rotate(45 7.41422 6)\" fill=\"black\"></rect>
  233. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</svg>
  234. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  235.                 </button>
  236.             </div>
  237.         {% endfor %}
  238.     </div>
  239.     <div class=\"d-flex flex-column flex-root mb-20\">
  240.         <div class=\"d-flex flex-column flex-lg-row flex-column-fluid\">
  241.             <div class=\"d-flex flex-column flex-lg-row-auto bg-primary w-xl-600px positon-xl-relative \">
  242.                 <div class=\"d-flex flex-column position-xl-fixed top-0 bottom-0 w-xl-600px scroll-y div-main-background-login\">
  243.                     <div class=\"d-flex flex-row-fluid flex-column text-center p-10 pt-lg-20\">
  244.                         <a href=\"#\" class=\"py-9 pt-lg-20\">
  245.                             <img alt=\"Logo\" src=\"{{ asset('assets/logo.png') }}\" class=\"h-40px\" />
  246.                         </a>
  247.                         <h1 class=\"fw-bolder text-white fs-2qx pb-5 pb-md-10\">{{ 'welcome_msg'|trans }}</h1>
  248.                     </div>
  249.                     <div class=\"d-flex flex-row-auto bgi-no-repeat bgi-position-x-center bgi-size-contain bgi-position-y-bottom min-h-100px min-h-lg-350px\" ></div>
  250.                 </div>
  251.             </div>
  252.             <div class=\"d-flex flex-column flex-lg-row-fluid py-10\">
  253.                 <div class=\"d-flex flex-center flex-column flex-column-fluid\">
  254.                     <div class=\"w-lg-500px p-10 p-lg-15 mx-auto w-100\" >
  255.                         <form class=\"form w-100\" action=\"{{ path('app_forgot_password_request') }}\" method=\"post\">
  256.                             <div class=\"text-center mb-10\">
  257.                                 <h1 class=\"text-dark mb-3\">{{ 'forget_password'|trans }}</h1>
  258.                                 <div class=\"text-gray-400 fw-bold fs-4\">{{ \"Enter your email to reset your password\"|trans }}</div>
  259.                             </div>
  260.                             <div class=\"fv-row mb-10\">
  261.                                 <label class=\"form-label fw-bolder text-gray-900 fs-6\">Email</label>
  262.                                 <input class=\"form-control form-control-solid\" type=\"email\" placeholder=\"\" name=\"email\" autocomplete=\"off\" required />
  263.                                 <input type=\"hidden\" name=\"csrf\" value=\"{{ csrf_token('csrf') }}\">
  264.                             </div>
  265.                             <div class=\"d-flex flex-wrap justify-content-center pb-lg-0\">
  266.                                 <button type=\"submit\" id=\"kt_password_reset_submit\" class=\"btn btn-lg btn-primary fw-bolder me-4\">
  267.                                     <span class=\"indicator-label\">{{ 'submit'|trans }}</span>
  268.                                 </button>
  269.                                 <a href=\"{{ path('login') }}\" class=\"btn btn-lg btn-light-primary fw-bolder\">{{ 'cancel'|trans }}</a>
  270.                             </div>
  271.                         </form>
  272.                     </div>
  273.                 </div>
  274.             </div>
  275.         </div>
  276.     </div>
  277. {% endblock %}
  278. ""reset_password/request.html.twig""/var/www/html/educatii/templates/reset_password/request.html.twig");
  279.     }
  280. }