/
home
/
obinna
/
html
/
boazapp
/
var
/
cache
/
dev
/
twig
/
75
/
Upload File
HOME
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\CoreExtension; 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/profile.html.twig */ class __TwigTemplate_30981b4e89fe987a8b82158948158de831f0db7782f3e792bd72fbb81ff66204 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'sidemenu' => [$this, 'block_sidemenu'], 'content' => [$this, 'block_content'], ]; } 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/profile.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/profile.html.twig")); $this->parent = $this->loadTemplate("base2.html.twig", "users/profile.html.twig", 1); yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks)); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 3 public function block_sidemenu($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", "sidemenu")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidemenu")); // line 4 yield " <li class=\"active\" id=\"home\"> <a href=\""; // line 5 yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home"); yield "\"> <p>Home</p> </a> </li> "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); return; yield ''; } // line 13 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 14 yield " <div class=\"content\"> <div class=\"container-fluid\"> <div class=\"row\"> <div class=\"col-md-6 col-md-offset-2\"> <div class=\"card\"> <div class=\"header\"> <h4 class=\"title\">Profile</h4> </div> <div class=\"content\"> <form action=\""; // line 23 yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile"); yield "\" method=\"post\"> <div class=\"forms\"> <div class=\"form-group\"> <label for=\"email\"><h4>Email:</h4></label> <input class=\"form-control\" type=\"text\" id=\"email\" name=\"email\" value="; // line 28 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 28, $this->source); })()), "email", [], "any", false, false, false, 28), "html", null, true); yield " /> </div> <div class=\"form-group\"> <label for=\"telephone\"><h4>Telephone:</h4></label> <input class=\"form-control\" type=\"text\" id=\"telephone\" name=\"telephone\" value="; // line 33 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 33, $this->source); })()), "telephone", [], "any", false, false, false, 33), "html", null, true); yield " /> </div> <button type=\"submit\" name=\"submit\" class=\"btn btn-default\">Update</button> </div> </form> </div> </div> </div> </div> </div> </div> "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "users/profile.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 126 => 33, 118 => 28, 110 => 23, 99 => 14, 89 => 13, 73 => 5, 70 => 4, 60 => 3, 37 => 1,); } public function getSourceContext() { return new Source("{% extends 'base2.html.twig' %} {% block sidemenu %} <li class=\"active\" id=\"home\"> <a href=\"{{ path('home') }}\"> <p>Home</p> </a> </li> {% endblock %} {% block content %} <div class=\"content\"> <div class=\"container-fluid\"> <div class=\"row\"> <div class=\"col-md-6 col-md-offset-2\"> <div class=\"card\"> <div class=\"header\"> <h4 class=\"title\">Profile</h4> </div> <div class=\"content\"> <form action=\"{{ path('profile') }}\" method=\"post\"> <div class=\"forms\"> <div class=\"form-group\"> <label for=\"email\"><h4>Email:</h4></label> <input class=\"form-control\" type=\"text\" id=\"email\" name=\"email\" value={{ user.email }} /> </div> <div class=\"form-group\"> <label for=\"telephone\"><h4>Telephone:</h4></label> <input class=\"form-control\" type=\"text\" id=\"telephone\" name=\"telephone\" value={{ user.telephone }} /> </div> <button type=\"submit\" name=\"submit\" class=\"btn btn-default\">Update</button> </div> </form> </div> </div> </div> </div> </div> </div> {% endblock %}", "users/profile.html.twig", "/var/www/html/boazapp/templates/users/profile.html.twig"); } }