var/cache/website/dev/twig/94/9444371753eecb98c1589da7aca15799.php line 38

  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. /* community/password-forget-form.html.twig */
  14. class __TwigTemplate_d4057786c6d7b4187457b8751f92d9e4 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.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "base.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""community/password-forget-form.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""community/password-forget-form.html.twig"));
  38.         // line 2
  39.         $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.'2$this->source); })()), [=> "form/theme.html.twig"], true);
  40.         // line 1
  41.         $this->parent $this->loadTemplate("base.html.twig""community/password-forget-form.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 4
  49.     public function block_content($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  56.         // line 5
  57.         echo "<div class=\"flex items-center justify-center mx-auto py-10\">
  58.     <section class=\"rounded-lg px-6 py-8 shadow bg-white w-4/5 md:w-3/5\">
  59.     ";
  60.         // line 7
  61.         if ((twig_get_attribute($this->env$this->sourcetwig_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.'7$this->source); })()), "request", [], "any"falsefalsefalse7), "get", [=> "send"], "method"falsefalsefalse7) == "true")) {
  62.             // line 8
  63.             echo "        Cliquez sur le lien reçu par email pour réinitialiser le mot de passe.
  64.     ";
  65.         } else {
  66.             // line 10
  67.             echo "        ";
  68.             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.'10$this->source); })()), 'form_start');
  69.             echo "       
  70.             ";
  71.             // line 11
  72.             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.'11$this->source); })()), "email_username", [], "any"falsefalsefalse11), 'row');
  73.             echo "
  74.              <!-- Submit button -->
  75.              ";
  76.             // line 13
  77.             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.'13$this->source); })()), "submit", [], "any"falsefalsefalse13), 'widget');
  78.             echo "
  79.             <div class=\"flex items-center justify-center pt-4\">
  80.                 <!-- Forgot password link -->
  81.                 <a href=\"";
  82.             // line 17
  83.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sulu_community.login");
  84.             echo "\"
  85.                     class=\"text-primary transition duration-150 ease-in-out hover:text-primary-600 focus:text-primary-600 active:text-primary-700 dark:text-primary-400 dark:hover:text-primary-500 dark:focus:text-primary-500 dark:active:text-primary-600\">
  86.                     Se connecter
  87.                 </a>
  88.             </div>
  89.         ";
  90.             // line 22
  91.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'22$this->source); })()), 'rest');
  92.             echo "
  93.         ";
  94.             // line 23
  95.             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.'23$this->source); })()), 'form_end');
  96.             echo "
  97.     ";
  98.         }
  99.         // line 25
  100.         echo "    </section>
  101. </div>
  102. ";
  103.         
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  105.         
  106.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  107.     }
  108.     public function getTemplateName()
  109.     {
  110.         return "community/password-forget-form.html.twig";
  111.     }
  112.     public function isTraitable()
  113.     {
  114.         return false;
  115.     }
  116.     public function getDebugInfo()
  117.     {
  118.         return array (  115 => 25,  110 => 23,  106 => 22,  98 => 17,  91 => 13,  86 => 11,  81 => 10,  77 => 8,  75 => 7,  71 => 5,  61 => 4,  50 => 1,  48 => 2,  35 => 1,);
  119.     }
  120.     public function getSourceContext()
  121.     {
  122.         return new Source("{% extends 'base.html.twig' %}
  123. {% form_theme form 'form/theme.html.twig' %}
  124. {% block content %}
  125. <div class=\"flex items-center justify-center mx-auto py-10\">
  126.     <section class=\"rounded-lg px-6 py-8 shadow bg-white w-4/5 md:w-3/5\">
  127.     {% if app.request.get('send') == 'true' %}
  128.         Cliquez sur le lien reçu par email pour réinitialiser le mot de passe.
  129.     {% else %}
  130.         {{ form_start(form) }}       
  131.             {{ form_row(form.email_username) }}
  132.              <!-- Submit button -->
  133.              {{ form_widget(form.submit) }}
  134.             <div class=\"flex items-center justify-center pt-4\">
  135.                 <!-- Forgot password link -->
  136.                 <a href=\"{{ path('sulu_community.login') }}\"
  137.                     class=\"text-primary transition duration-150 ease-in-out hover:text-primary-600 focus:text-primary-600 active:text-primary-700 dark:text-primary-400 dark:hover:text-primary-500 dark:focus:text-primary-500 dark:active:text-primary-600\">
  138.                     Se connecter
  139.                 </a>
  140.             </div>
  141.         {{ form_rest(form) }}
  142.         {{ form_end(form) }}
  143.     {% endif %}
  144.     </section>
  145. </div>
  146. {% endblock %}""community/password-forget-form.html.twig""/home/clients/9fb54196d452b0565fe72264e749e2a9/sites/lerepere-website/templates/community/password-forget-form.html.twig");
  147.     }
  148. }