var/cache/dev/twig/73/738139b431d83520f8c21271063d5488.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. /* account/reset_password_from_papyrus_id.html.twig */
  14. class __TwigTemplate_a1cf0b080e869f85d93e4fd551669bde 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.         $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros = $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "account/reset_password_from_papyrus_id.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "account/reset_password_from_papyrus_id.html.twig"));
  40.         $this->parent = $this->loadTemplate("layout.html.twig", "account/reset_password_from_papyrus_id.html.twig", 1);
  41.         $this->parent->display($context, array_merge($this->blocks, $blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_content($context, array $blocks = [])
  49.     {
  50.         $macros = $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  55.         // line 4
  56.         echo "
  57.     ";
  58.         // line 5
  59.         $this->loadTemplate("includes/breadcrumb.html.twig", "account/reset_password_from_papyrus_id.html.twig", 5)->display($context);
  60.         // line 6
  61.         echo "
  62.     <section class=\"section-intro\">
  63.         <div class=\"container-fluid\">
  64.             <div class=\"row align-items-center\">
  65.                 <div class=\"col-auto\">
  66.                     <p class=\"h1\">";
  67.         // line 11
  68.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Wachtwoord vergeten?"), "html", null, true);
  69.         echo "</p>
  70.                 </div>
  71.             </div><!--/ .row -->
  72.         </div><!--/ .container -->
  73.     </section>
  74.     <section class=\"section-content\">
  75.         <div class=\"container-fluid\">
  76.             <div class=\"row justify-content-center\">
  77.                 <div class=\"col-lg-8 col-xl-6 mb-5\">
  78.                     <div class=\"card\">
  79.                         <div class=\"card-body\">
  80.                             ";
  81.         // line 23
  82.         $context['_parent'] = $context;
  83.         $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.', 23, $this->source); })()), "flashes", [], "any", false, false, true, 23));
  84.         foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
  85.             // line 24
  86.             echo "                                ";
  87.             $context['_parent'] = $context;
  88.             $context['_seq'] = twig_ensure_traversable($context["messages"]);
  89.             foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  90.                 // line 25
  91.                 echo "                                    <div class=\"alert alert-";
  92.                 echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed($context["label"], 25, $this->source), "html", null, true);
  93.                 echo " w-100\">
  94.                                         ";
  95.                 // line 26
  96.                 echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed($context["message"], 26, $this->source), "html", null, true);
  97.                 echo "
  98.                                     </div>
  99.                                 ";
  100.             }
  101.             $_parent = $context['_parent'];
  102.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  103.             $context = array_intersect_key($context, $_parent) + $_parent;
  104.             // line 29
  105.             echo "                            ";
  106.         }
  107.         $_parent = $context['_parent'];
  108.         unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
  109.         $context = array_intersect_key($context, $_parent) + $_parent;
  110.         // line 30
  111.         echo "                            <form
  112.                                 action=\"";
  113.         // line 31
  114.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account_password_reset_action");
  115.         echo "\"
  116.                                 method=\"post\"
  117.                             >
  118.                                 <h3>";
  119.         // line 34
  120.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Reset uw wachtwoord"), "html", null, true);
  121.         echo "</h3>
  122.                                 <input type=\"text\" id=\"clientnr\" name=\"clientnr\" required=\"required\" class=\"form-control\" value=\"\" placeholder=\"Login\"/>
  123.                                 <div class=\"form-group\">
  124.                                     <button type=\"submit\" id=\"_submit\" name=\"_submit\" class=\"btn btn-primary btn-block mt-4 btn\">Verstuur</button>
  125.                                 </div>
  126.                             </form>
  127.                         </div>
  128.                     </div>
  129.                 </div>
  130.             </div><!--/ .row -->
  131.         </div><!--/ .container-fluid -->
  132.     </section>
  133. ";
  134.         
  135.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  136.         
  137.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  138.     }
  139.     public function getTemplateName()
  140.     {
  141.         return "account/reset_password_from_papyrus_id.html.twig";
  142.     }
  143.     public function isTraitable()
  144.     {
  145.         return false;
  146.     }
  147.     public function getDebugInfo()
  148.     {
  149.         return array (  135 => 34,  129 => 31,  126 => 30,  120 => 29,  111 => 26,  106 => 25,  101 => 24,  97 => 23,  82 => 11,  75 => 6,  73 => 5,  70 => 4,  60 => 3,  37 => 1,);
  150.     }
  151.     public function getSourceContext()
  152.     {
  153.         return new Source("{% extends 'layout.html.twig' %}
  154. {% block content %}
  155.     {% include 'includes/breadcrumb.html.twig' %}
  156.     <section class=\"section-intro\">
  157.         <div class=\"container-fluid\">
  158.             <div class=\"row align-items-center\">
  159.                 <div class=\"col-auto\">
  160.                     <p class=\"h1\">{{ 'Wachtwoord vergeten?' | trans }}</p>
  161.                 </div>
  162.             </div><!--/ .row -->
  163.         </div><!--/ .container -->
  164.     </section>
  165.     <section class=\"section-content\">
  166.         <div class=\"container-fluid\">
  167.             <div class=\"row justify-content-center\">
  168.                 <div class=\"col-lg-8 col-xl-6 mb-5\">
  169.                     <div class=\"card\">
  170.                         <div class=\"card-body\">
  171.                             {% for label, messages in app.flashes %}
  172.                                 {% for message in messages %}
  173.                                     <div class=\"alert alert-{{ label }} w-100\">
  174.                                         {{ message }}
  175.                                     </div>
  176.                                 {% endfor %}
  177.                             {% endfor %}
  178.                             <form
  179.                                 action=\"{{ path('account_password_reset_action') }}\"
  180.                                 method=\"post\"
  181.                             >
  182.                                 <h3>{{ 'Reset uw wachtwoord' | trans }}</h3>
  183.                                 <input type=\"text\" id=\"clientnr\" name=\"clientnr\" required=\"required\" class=\"form-control\" value=\"\" placeholder=\"Login\"/>
  184.                                 <div class=\"form-group\">
  185.                                     <button type=\"submit\" id=\"_submit\" name=\"_submit\" class=\"btn btn-primary btn-block mt-4 btn\">Verstuur</button>
  186.                                 </div>
  187.                             </form>
  188.                         </div>
  189.                     </div>
  190.                 </div>
  191.             </div><!--/ .row -->
  192.         </div><!--/ .container-fluid -->
  193.     </section>
  194. {% endblock %}", "account/reset_password_from_papyrus_id.html.twig", "/data/sites/web/devliegerfilipbe/subsites/dev.devliegerfilip.dspdev.be/templates/account/reset_password_from_papyrus_id.html.twig");
  195.     }
  196.     
  197.     public function checkSecurity()
  198.     {
  199.         static $tags = array("include" => 5, "for" => 23);
  200.         static $filters = array("escape" => 11, "trans" => 11);
  201.         static $functions = array("path" => 31);
  202.         try {
  203.             $this->sandbox->checkSecurity(
  204.                 ['include', 'for'],
  205.                 ['escape', 'trans'],
  206.                 ['path']
  207.             );
  208.         } catch (SecurityError $e) {
  209.             $e->setSourceContext($this->source);
  210.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  211.                 $e->setTemplateLine($tags[$e->getTagName()]);
  212.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  213.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  214.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  215.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  216.             }
  217.             throw $e;
  218.         }
  219.     }
  220. }