/
home
/
obinna
/
html
/
amply
/
var
/
cache
/
prod
/
twig
/
b0
/
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; /* user/register.html.twig */ class __TwigTemplate_bf490ca25c6d10adde4ac5e0f9c00a7ec5ea0219798070ffdc4f15be94073fe6 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", "user/register.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=\"register-form\"> <div class=\"card\"> <h3 class=\"text-center\">Register to start using Amply now.</h3> <div class=\"card-body\"> <form action=\""; // line 9 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("register"); echo "\" method=\"post\" role=\"form\"> <div class=\"form-group\"> <input type=\"text\" name=\"company\" placeholder=\"Company Name\" class=\"form-control\" required> </div> <div class=\"form-group\"> <input type=\"text\" name=\"telephone\" placeholder=\"Telephone\" class=\"form-control\" required> </div> <div class=\"form-group\"> <input type=\"email\" name=\"email\" placeholder=\"Email Address\" class=\"form-control\" required> </div> <div class=\"form-group\"> <input type=\"password\" name=\"password\" placeholder=\"Password\" class=\"form-control password\" required> </div> <div class=\"form-group\"> <input type=\"password\" name=\"confirmpassword\" placeholder=\"Confirm Password\" class=\"form-control confirmpassword\" required> </div> <input type=\"submit\" name=\"submit\" value=\"Submit\" class=\"btn btn-primary\"> <span class=\"pull-right\">Already registered? <a href=\""; // line 26 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ajax", ["page" => "login"]); echo "\" rel=\"modal:open\" style=\"color: #4a6c6f\">Login</a></span> </form> </div> </div> </div> "; } // line 34 public function block_javascripts($context, array $blocks = []) { $macros = $this->macros; // line 35 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 "user/register.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 93 => 35, 89 => 34, 78 => 26, 58 => 9, 51 => 4, 47 => 3, 36 => 1,); } public function getSourceContext() { return new Source("", "user/register.html.twig", "/var/www/html/amply/templates/user/register.html.twig"); } }