var/cache/dev/twig/fe/fef8791f50aac879195244de004c64b0bb481981b0473d46925c7f4bc921276c.php line 48

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. /* auth/ask_reset_password.html.twig */
  14. class __TwigTemplate_f4481c73ec4ca80dedaa603694649bb6e972b3b872e1e8721ceb631d5626e69f 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 "layout.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", "auth/ask_reset_password.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", "auth/ask_reset_password.html.twig"));
  38.         $this->parent = $this->loadTemplate("layout.html.twig", "auth/ask_reset_password.html.twig", 1);
  39.         $this->parent->display($context, array_merge($this->blocks, $blocks));
  40.         
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  42.         
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  44.     }
  45.     // line 3
  46.     public function block_content($context, array $blocks = [])
  47.     {
  48.         $macros = $this->macros;
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  53.         // line 4
  54.         echo "
  55. <main id=\"main\" role=\"main\">
  56.     <section id=\"connexion-page\" class=\"apk-connexion\">
  57.         <div class=\"uk-container apk-container-600\">
  58.             <div class=\"uk-text-center\">
  59.                 <h1 class=\"uk-h2\">";
  60.         // line 9
  61.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("RĂ©initaliser votre mot de passe"), "html", null, true);
  62.         echo "</h1>                            
  63.             </div>
  64.             <div class=\"apk-auth-card\">
  65.                 <div class=\"form-wrapper\">
  66.                     ";
  67.         // line 14
  68.         if (array_key_exists("message", $context)) {
  69.             // line 15
  70.             echo "                        <div class=\"uk-alert-success\" uk-alert>
  71.                             ";
  72.             // line 16
  73.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 16, $this->source); })())), "html", null, true);
  74.             echo "
  75.                         </div>
  76.                     ";
  77.         } else {
  78.             // line 19
  79.             echo "
  80.                         <!-- form -->
  81.                         <form class=\"uk-margin-medium-top\" id=\"askForPassword\" method=\"POST\">
  82.                             ";
  83.             // line 24
  84.             if (array_key_exists("error", $context)) {
  85.                 // line 25
  86.                 echo "                                <div class=\"uk-alert-danger uk-margin-bottom\" uk-alert>
  87.                                     ";
  88.                 // line 26
  89.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 26, $this->source); })())), "html", null, true);
  90.                 echo "
  91.                                 </div>
  92.                             ";
  93.             }
  94.             // line 29
  95.             echo "                            <div>
  96.                                 <label for=\"username\">";
  97.             // line 30
  98.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Email de connexion"), "html", null, true);
  99.             echo "</label>
  100.                                 <input type=\"email\" class=\"uk-input uk-margin-small-top\" placeholder=\"";
  101.             // line 31
  102.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Email de connexion"), "html", null, true);
  103.             echo "\"
  104.                                     required autofocus name=\"username\" id=\"username\">
  105.                             </div>
  106.                             <div class=\"uk-margin-medium-top uk-text-center\">    
  107.                                 <input type=\"submit\" name=\"submit\" class=\"uk-button uk-button-blue1 uk-button-large\"
  108.                                     value=\"";
  109.             // line 36
  110.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Envoyer"), "html", null, true);
  111.             echo "\">
  112.                             </div>
  113.                             <a href=\"";
  114.             // line 39
  115.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
  116.             echo "\" class=\"btn btn-sm btn-outline-light ml-1\">";
  117.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Connexion"), "html", null, true);
  118.             echo "</a>
  119.                         </form>
  120.                         <!-- ./ form -->
  121.                     ";
  122.         }
  123.         // line 44
  124.         echo "
  125.                 </div>
  126.             </div>
  127.         </div>
  128.     </section>
  129. </main>
  130. ";
  131.         
  132.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  133.         
  134.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  135.     }
  136.     public function getTemplateName()
  137.     {
  138.         return "auth/ask_reset_password.html.twig";
  139.     }
  140.     public function isTraitable()
  141.     {
  142.         return false;
  143.     }
  144.     public function getDebugInfo()
  145.     {
  146.         return array (  143 => 44,  133 => 39,  127 => 36,  119 => 31,  115 => 30,  112 => 29,  106 => 26,  103 => 25,  101 => 24,  94 => 19,  88 => 16,  85 => 15,  83 => 14,  75 => 9,  68 => 4,  58 => 3,  35 => 1,);
  147.     }
  148.     public function getSourceContext()
  149.     {
  150.         return new Source("{% extends 'layout.html.twig' %}
  151. {% block content %}
  152. <main id=\"main\" role=\"main\">
  153.     <section id=\"connexion-page\" class=\"apk-connexion\">
  154.         <div class=\"uk-container apk-container-600\">
  155.             <div class=\"uk-text-center\">
  156.                 <h1 class=\"uk-h2\">{{'RĂ©initaliser votre mot de passe' |trans}}</h1>                            
  157.             </div>
  158.             <div class=\"apk-auth-card\">
  159.                 <div class=\"form-wrapper\">
  160.                     {% if message is defined %}
  161.                         <div class=\"uk-alert-success\" uk-alert>
  162.                             {{message |trans}}
  163.                         </div>
  164.                     {% else %}
  165.                         <!-- form -->
  166.                         <form class=\"uk-margin-medium-top\" id=\"askForPassword\" method=\"POST\">
  167.                             {% if error is defined %}
  168.                                 <div class=\"uk-alert-danger uk-margin-bottom\" uk-alert>
  169.                                     {{error |trans}}
  170.                                 </div>
  171.                             {% endif %}
  172.                             <div>
  173.                                 <label for=\"username\">{{\"Email de connexion\"  |trans}}</label>
  174.                                 <input type=\"email\" class=\"uk-input uk-margin-small-top\" placeholder=\"{{'Email de connexion' |trans}}\"
  175.                                     required autofocus name=\"username\" id=\"username\">
  176.                             </div>
  177.                             <div class=\"uk-margin-medium-top uk-text-center\">    
  178.                                 <input type=\"submit\" name=\"submit\" class=\"uk-button uk-button-blue1 uk-button-large\"
  179.                                     value=\"{{\"Envoyer\" |trans}}\">
  180.                             </div>
  181.                             <a href=\"{{path(\"login\")}}\" class=\"btn btn-sm btn-outline-light ml-1\">{{\"Connexion\" |trans}}</a>
  182.                         </form>
  183.                         <!-- ./ form -->
  184.                     {% endif %}
  185.                 </div>
  186.             </div>
  187.         </div>
  188.     </section>
  189. </main>
  190. {%  endblock %}", "auth/ask_reset_password.html.twig", "/var/www/mynursery.apik-pp.be/www/templates/auth/ask_reset_password.html.twig");
  191.     }
  192. }