/
home
/
obinna
/
html
/
mixchief_app
/
var
/
cache
/
prod
/
twig
/
69
/
Upload File
HOME
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* Users/passwordchange.html.twig */ class __TwigTemplate_3e6825d45eb04d47acff8e880963cb84e2fe8a5d59f3c3b2ed7a112d4b5930a8 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'content' => [$this, 'block_content'], 'javascripts' => [$this, 'block_javascripts'], ]; } protected function doGetParent(array $context) { // line 1 return "base2.html.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $this->parent = $this->loadTemplate("base2.html.twig", "Users/passwordchange.html.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 4 echo " <div class=\"login-form\"> <div class=\"card\"> <div class=\"card-header\">Enter New Password</div> <div class=\"card-body\"> "; // line 11 echo " <form action=\""; echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("password_change"); echo "\" method=\"post\" role=\"form\"> <input type=\"hidden\" name=\"token\" value=\""; // line 12 echo twig_escape_filter($this->env, ($context["token"] ?? null), "html", null, true); echo "\"> <div class=\"form-group\"> <input type=\"email\" name=\"email\" class=\"form-control\" value=\""; // line 14 echo twig_escape_filter($this->env, ($context["email"] ?? null), "html", null, true); echo "\" readonly> </div> <div class=\"form-group\"> <input type=\"password\" name=\"password\" placeholder=\"Password\" class=\"form-control password\"> </div> <div class=\"form-group\"> <input type=\"password\" name=\"confirmpassword\" placeholder=\"Confirm Password\" class=\"form-control confirmpassword\"> </div> <input type=\"submit\" name=\"submit\" value=\"Change Password\" class=\"btn btn-other\"> </form> </div> </div> </div> "; } // line 31 public function block_javascripts($context, array $blocks = []) { $macros = $this->macros; // line 32 echo " "; $this->displayParentBlock("javascripts", $context, $blocks); echo " <script> \$('.confirmpassword').on('keyup', function(e){ var \$target = \$(e.currentTarget); var \$prev = \$('.password'); if (\$prev.val() !== \$target.val()) { \$target.addClass(\"error\"); }else { \$target.removeClass(\"error\"); } }); </script> "; } public function getTemplateName() { return "Users/passwordchange.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 91 => 32, 87 => 31, 67 => 14, 62 => 12, 57 => 11, 51 => 4, 47 => 3, 36 => 1,); } public function getSourceContext() { return new Source("", "Users/passwordchange.html.twig", "/var/www/html/mixchief_app/templates/Users/passwordchange.html.twig"); } }