/
home
/
obinna
/
html
/
mixchief_app
/
var
/
cache
/
dev
/
twig
/
62
/
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_36cd0f2515ec70f73077a5868d4b89e7e5123867cc30e2e1865234f0572b139d 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; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Users/passwordchange.html.twig")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Users/passwordchange.html.twig")); $this->parent = $this->loadTemplate("base2.html.twig", "Users/passwordchange.html.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 3 public function block_content($context, array $blocks = []) { $macros = $this->macros; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content")); // 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, (isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 12, $this->source); })()), "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, (isset($context["email"]) || array_key_exists("email", $context) ? $context["email"] : (function () { throw new RuntimeError('Variable "email" does not exist.', 14, $this->source); })()), "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> "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); } // line 31 public function block_javascripts($context, array $blocks = []) { $macros = $this->macros; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts")); // 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> "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); } public function getTemplateName() { return "Users/passwordchange.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 121 => 32, 111 => 31, 85 => 14, 80 => 12, 75 => 11, 69 => 4, 59 => 3, 36 => 1,); } public function getSourceContext() { return new Source("{% extends 'base2.html.twig' %} {% block content %} <div class=\"login-form\"> <div class=\"card\"> <div class=\"card-header\">Enter New Password</div> <div class=\"card-body\"> {# {% if error %} <div id=\"error\">{{ error }}</div> {% endif %} #} <form action=\"{{ path('password_change') }}\" method=\"post\" role=\"form\"> <input type=\"hidden\" name=\"token\" value=\"{{ token }}\"> <div class=\"form-group\"> <input type=\"email\" name=\"email\" class=\"form-control\" value=\"{{ email }}\" 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> {% endblock %} {% block javascripts %} {{ parent() }} <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> {% endblock %}", "Users/passwordchange.html.twig", "/var/www/html/mixchief_app/templates/Users/passwordchange.html.twig"); } }