*/ private array $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'title' => [$this, 'block_title'], 'content' => [$this, 'block_content'], 'scripts' => [$this, 'block_scripts'], ]; } protected function doGetParent(array $context): bool|string|Template|TemplateWrapper { // line 1 return "layouts/dashboard.twig"; } protected function doDisplay(array $context, array $blocks = []): iterable { $macros = $this->macros; $this->parent = $this->load("layouts/dashboard.twig", 1); yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks)); } // line 3 /** * @return iterable */ public function block_title(array $context, array $blocks = []): iterable { $macros = $this->macros; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.profile_title"), "html", null, true); yield " - "; yield from []; } // line 5 /** * @return iterable */ public function block_content(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 6 yield "

"; // line 10 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.profile_title"), "html", null, true); yield "

"; // line 13 if ((($tmp = ($context["success"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 14 yield "
"; // line 15 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.profile_updated"), "html", null, true); yield "
"; } // line 18 yield " "; // line 19 if ((($tmp = ($context["error"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 20 yield "
"; // line 21 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["error"] ?? null), "html", null, true); yield "
"; } // line 24 yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('url')->getCallable()("profile"), "html", null, true); yield "\" enctype=\"multipart/form-data\"> "; // line 26 yield $this->env->getFunction('csrf_field')->getCallable()(); yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "name", [], "any", false, false, false, 31), "html", null, true); yield "\" required>
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "email", [], "any", false, false, false, 36), "html", null, true); yield "\" required>
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "phone", [], "any", false, false, false, 43), "html", null, true); yield "\">
"; // line 57 if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "avatar", [], "any", false, false, false, 57)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 58 yield "
"; // line 59 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.current_avatar"), "html", null, true); yield ": env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "avatar_url", [], "any", false, false, false, 60), "html", null, true); yield "\" alt=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.current_avatar"), "html", null, true); yield "\" class=\"img-thumbnail\" style=\"max-width: 100px;\">
"; } // line 63 yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.current_password_placeholder"), "html", null, true); yield "\" autocomplete=\"new-password\" value=\"\">
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.new_password_placeholder"), "html", null, true); yield "\" autocomplete=\"new-password\" value=\"\">
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.password_confirmation_placeholder"), "html", null, true); yield "\" autocomplete=\"new-password\" value=\"\">
"; yield from []; } // line 111 /** * @return iterable */ public function block_scripts(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 112 yield " "; yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "auth/views/profile.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 294 => 126, 278 => 112, 271 => 111, 255 => 101, 251 => 100, 238 => 90, 233 => 88, 222 => 80, 217 => 78, 204 => 68, 199 => 66, 194 => 63, 186 => 60, 182 => 59, 179 => 58, 177 => 57, 171 => 54, 162 => 48, 158 => 47, 151 => 43, 147 => 42, 138 => 36, 134 => 35, 127 => 31, 123 => 30, 116 => 26, 112 => 25, 109 => 24, 103 => 21, 100 => 20, 98 => 19, 95 => 18, 89 => 15, 86 => 14, 84 => 13, 78 => 10, 72 => 6, 65 => 5, 53 => 3, 42 => 1,); } public function getSourceContext(): Source { return new Source("", "auth/views/profile.twig", "/app/modules/auth/views/profile.twig"); } }