/
home
/
obinna
/
html
/
mixchief_app
/
var
/
cache
/
dev
/
twig
/
37
/
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/profile.html.twig */ class __TwigTemplate_3ecfc1111fba33fe4952ca4c3569345374f5bd0317c21fbacfec40cefdd718fd extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'content' => [$this, 'block_content'], ]; } protected function doGetParent(array $context) { // line 1 return "base1.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("base1.html.twig", "Users/profile.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 "\t<div class=\"content\"> \t\t<div class=\"row\"> \t\t\t<div class=\"col-sm-7\"> \t\t\t\t<div class=\"card\"> \t\t\t\t\t<div class=\"card-body\"> \t\t\t\t\t\t<form action=\""; // line 9 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account"); echo "\" method=\"POST\" enctype=\"multipart/form-data\"> \t\t\t\t\t\t\t<div class=\"form-group\"> \t\t\t\t\t\t\t\t<label for=\"company\">Business Name</label> \t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"company\" name=\"company\" value=\""; // line 12 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 12, $this->source); })()), "company", [], "any", false, false, false, 12), "html", null, true); echo "\"> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t<div class=\"form-group\"> \t\t\t\t\t\t\t\t<label for=\"address\">Address</label> \t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"address\" name=\"address\" value=\""; // line 16 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 16, $this->source); })()), "address", [], "any", false, false, false, 16), "html", null, true); echo "\"> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t<div class=\"form-group\"> \t\t\t\t\t\t\t\t<label for=\"state\">State</label> \t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"state\" name=\"state\" value=\""; // line 20 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 20, $this->source); })()), "state", [], "any", false, false, false, 20), "html", null, true); echo "\"> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t<div class=\"form-group\"> \t\t\t\t\t\t\t\t<label for=\"email\">Email</label> \t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"email\" disabled value=\""; // line 24 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 24, $this->source); })()), "email", [], "any", false, false, false, 24), "html", null, true); echo "\"> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t<div class=\"form-group\"> \t\t\t\t\t\t\t\t<label for=\"telephone\">Telephone</label> \t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"telephone\" name=\"telephone\" value=\""; // line 28 echo twig_escape_filter($this->env, twig_get_attribute($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); })()), "telephone", [], "any", false, false, false, 28), "html", null, true); echo "\"> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t<div class=\"form-group\"> \t\t\t\t\t\t\t\t<label for=\"logo\">Logo</label> \t\t\t\t\t\t\t\t<input type=\"file\" class=\"form-control\" id=\"logo\" name=\"logo\"> \t\t\t\t\t\t\t\t"; // line 33 if (twig_get_attribute($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); })()), "logo", [], "any", false, false, false, 33)) { // line 34 echo "\t\t\t\t\t\t\t\t\t<div class=\"current-logo\"> \t\t\t\t\t\t\t\t\t\t<img src=\""; // line 35 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 35, $this->source); })()), "logo", [], "any", false, false, false, 35), "html", null, true); echo "\" alt=\"Company Logo\"> \t\t\t\t\t\t\t\t\t\t"; // line 39 echo "\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t"; } // line 41 echo "\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t<button class=\"btn btn-primary\">Update</button> \t\t\t\t\t\t</form> \t\t\t\t\t</div> \t\t\t\t</div> \t\t\t</div> \t\t</div> \t</div> "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); } public function getTemplateName() { return "Users/profile.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 130 => 41, 126 => 39, 122 => 35, 119 => 34, 117 => 33, 109 => 28, 102 => 24, 95 => 20, 88 => 16, 81 => 12, 75 => 9, 68 => 4, 58 => 3, 35 => 1,); } public function getSourceContext() { return new Source("{% extends 'base1.html.twig' %} {% block content %} \t<div class=\"content\"> \t\t<div class=\"row\"> \t\t\t<div class=\"col-sm-7\"> \t\t\t\t<div class=\"card\"> \t\t\t\t\t<div class=\"card-body\"> \t\t\t\t\t\t<form action=\"{{ path('account') }}\" method=\"POST\" enctype=\"multipart/form-data\"> \t\t\t\t\t\t\t<div class=\"form-group\"> \t\t\t\t\t\t\t\t<label for=\"company\">Business Name</label> \t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"company\" name=\"company\" value=\"{{ user.company }}\"> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t<div class=\"form-group\"> \t\t\t\t\t\t\t\t<label for=\"address\">Address</label> \t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"address\" name=\"address\" value=\"{{ user.address }}\"> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t<div class=\"form-group\"> \t\t\t\t\t\t\t\t<label for=\"state\">State</label> \t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"state\" name=\"state\" value=\"{{ user.state }}\"> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t<div class=\"form-group\"> \t\t\t\t\t\t\t\t<label for=\"email\">Email</label> \t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"email\" disabled value=\"{{ user.email }}\"> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t<div class=\"form-group\"> \t\t\t\t\t\t\t\t<label for=\"telephone\">Telephone</label> \t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"telephone\" name=\"telephone\" value=\"{{ user.telephone }}\"> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t<div class=\"form-group\"> \t\t\t\t\t\t\t\t<label for=\"logo\">Logo</label> \t\t\t\t\t\t\t\t<input type=\"file\" class=\"form-control\" id=\"logo\" name=\"logo\"> \t\t\t\t\t\t\t\t{% if user.logo %} \t\t\t\t\t\t\t\t\t<div class=\"current-logo\"> \t\t\t\t\t\t\t\t\t\t<img src=\"{{ user.logo }}\" alt=\"Company Logo\"> \t\t\t\t\t\t\t\t\t\t{# <div class=\"delete-logo\" style=~\"margin: auto;\"> \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-times\"></i> \t\t\t\t\t\t\t\t\t\t</div> #} \t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t{% endif %} \t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t<button class=\"btn btn-primary\">Update</button> \t\t\t\t\t\t</form> \t\t\t\t\t</div> \t\t\t\t</div> \t\t\t</div> \t\t</div> \t</div> {% endblock %}", "Users/profile.html.twig", "/var/www/html/mixchief_app/templates/Users/profile.html.twig"); } }