var/cache/dev/twig/55/5552318f03e171c415b9ad3a97015fe71ee2e98d749fe43ca011797ee95851cf.php line 38

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/resetPassword.html.twig */
  14. class __TwigTemplate_d25d7b48ff4d61726c5b25739ece348f5d484ab55d87984e561ba6916e23b742 extends \Twig\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.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "layout_public.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Security/resetPassword.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Security/resetPassword.html.twig"));
  38.         // line 2
  39.         $macros["macros"] = $this->macros["macros"] = $this->loadTemplate("Common/macros.html.twig""Security/resetPassword.html.twig"2)->unwrap();
  40.         // line 3
  41.         $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'3$this->source); })()), "Common/form_theme.html.twig"true);
  42.         // line 1
  43.         $this->parent $this->loadTemplate("layout_public.html.twig""Security/resetPassword.html.twig"1);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  47.         
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  49.     }
  50.     // line 5
  51.     public function block_content($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  58.         // line 6
  59.         echo "    <div class=\"page\" id=\"security-reset-password\">
  60.         <form action=\"";
  61.         // line 7
  62.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_reset_password");
  63.         echo "\" method=\"post\" class=\"form-security\">
  64.         <div class=\"form-body form-security\">
  65.             <div class=\"LogoSecurity\">
  66.                 <img src=\"";
  67.         // line 10
  68.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/app/security/"), "html"nulltrue);
  69.         echo "munireg-finallogo.svg\" alt=\"\" >
  70.             </div>
  71.             ";
  72.         // line 12
  73.         if ((isset($context["formIsValid"]) || array_key_exists("formIsValid"$context) ? $context["formIsValid"] : (function () { throw new RuntimeError('Variable "formIsValid" does not exist.'12$this->source); })())) {
  74.             // line 13
  75.             echo "                <p>If this email is associated with a user of the application then an email has been sent to reset your password.</p>
  76.             ";
  77.         }
  78.         // line 15
  79.         echo "            ";
  80.         echo twig_call_macro($macros["macros"], "macro_form_general_errors", [(isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'15$this->source); })())], 15$context$this->getSourceContext());
  81.         echo "
  82.             ";
  83.         // line 16
  84.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'16$this->source); })()), "email", [], "any"falsefalsefalse16), 'row');
  85.         echo "
  86.             <div class=\"form-footer\">
  87.                 <button type=\"submit\" class=\"btn-green\">Recover password</button>
  88.                 <a href=\"";
  89.         // line 19
  90.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  91.         echo "\" class=\"btn-clean-white\">Go back to login</a>
  92.             </div>
  93.             <div class=\"create-account\">
  94.                 <label for=\"remember-me\">
  95.                     <input type=\"checkbox\" id=\"remember-me\" name=\"_remember_me\">
  96.                     <span>Remember me</span>
  97.                 </label>
  98.                 <span>First time?</span>
  99.                 <a href=\"";
  100.         // line 27
  101.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_registration_index");
  102.         echo "\">Create an account</a>
  103.             </div>
  104.         </div>
  105.         ";
  106.         // line 31
  107.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'31$this->source); })()), 'form_end');
  108.         echo "
  109.     </div>
  110. ";
  111.         
  112.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  113.         
  114.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  115.     }
  116.     public function getTemplateName()
  117.     {
  118.         return "Security/resetPassword.html.twig";
  119.     }
  120.     public function isTraitable()
  121.     {
  122.         return false;
  123.     }
  124.     public function getDebugInfo()
  125.     {
  126.         return array (  122 => 31,  115 => 27,  104 => 19,  98 => 16,  93 => 15,  89 => 13,  87 => 12,  82 => 10,  76 => 7,  73 => 6,  63 => 5,  52 => 1,  50 => 3,  48 => 2,  35 => 1,);
  127.     }
  128.     public function getSourceContext()
  129.     {
  130.         return new Source("{% extends 'layout_public.html.twig' %}
  131. {% import \"Common/macros.html.twig\" as macros %}
  132. {% form_theme form with 'Common/form_theme.html.twig' %}
  133. {% block content %}
  134.     <div class=\"page\" id=\"security-reset-password\">
  135.         <form action=\"{{ path('app_reset_password') }}\" method=\"post\" class=\"form-security\">
  136.         <div class=\"form-body form-security\">
  137.             <div class=\"LogoSecurity\">
  138.                 <img src=\"{{ asset('images/app/security/') }}munireg-finallogo.svg\" alt=\"\" >
  139.             </div>
  140.             {% if formIsValid %}
  141.                 <p>If this email is associated with a user of the application then an email has been sent to reset your password.</p>
  142.             {% endif %}
  143.             {{ macros.form_general_errors(form) }}
  144.             {{ form_row(form.email) }}
  145.             <div class=\"form-footer\">
  146.                 <button type=\"submit\" class=\"btn-green\">Recover password</button>
  147.                 <a href=\"{{ path('app_login')}}\" class=\"btn-clean-white\">Go back to login</a>
  148.             </div>
  149.             <div class=\"create-account\">
  150.                 <label for=\"remember-me\">
  151.                     <input type=\"checkbox\" id=\"remember-me\" name=\"_remember_me\">
  152.                     <span>Remember me</span>
  153.                 </label>
  154.                 <span>First time?</span>
  155.                 <a href=\"{{ path('app_registration_index')}}\">Create an account</a>
  156.             </div>
  157.         </div>
  158.         {{ form_end(form) }}
  159.     </div>
  160. {% endblock %}
  161. ""Security/resetPassword.html.twig""/var/www/app-dev-munireg/templates/Security/resetPassword.html.twig");
  162.     }
  163. }