<?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;
/* @CoreShopFrontend/Register/password-reset-request.html.twig */
class __TwigTemplate_e91fea4829eeb33da8d2d79252bc7355 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 6
return $this->loadTemplate((isset($context["_layout"]) || array_key_exists("_layout", $context) ? $context["_layout"] : (function () { throw new RuntimeError('Variable "_layout" does not exist.', 6, $this->source); })()), "@CoreShopFrontend/Register/password-reset-request.html.twig", 6);
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CoreShopFrontend/Register/password-reset-request.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CoreShopFrontend/Register/password-reset-request.html.twig"));
// line 1
if (Pimcore\Model\Site::isSiteRequest()) {
// line 2
$context["_layout"] = "seikoclub/layout.html.twig";
} else {
// line 4
$context["_layout"] = "@CoreShopFrontend/layout.html.twig";
}
// line 7
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 7, $this->source); })()), ["form/reg_login_form_layout.html.twig"], true);
// line 6
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 9
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 10
echo " <div class=\"container\">
<div class=\"profile-title-row\">
<h1>PROFIL</h1>
</div>
</div>
<section id=\"regBox\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12 col-md-8 offset-md-2\">
<p class=\"color-white\">Elfelejtett jelszó? Az email cím megadását követően küldünk egy
hivatkozást, amelynek segítségével új jelszót lehet létrehozni.</p>
<div class=\"inner\">
";
// line 22
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock($this->sandbox->ensureToStringAllowed((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 22, $this->source); })()), 22, $this->source), 'form_start', ["attr" => ["novalidate" => "novalidate"]]);
echo "
";
// line 24
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "email", [], "any", true, true, true, 24)) {
// line 25
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 25, $this->source); })()), "email", [], "any", false, false, true, 25), 25, $this->source), 'row', ["attr" => ["placeholder" => "coreshop.ui.email_address.required"]]);
// line 29
echo "
";
} elseif (twig_get_attribute($this->env, $this->source, // line 30
($context["form"] ?? null), "username", [], "any", true, true, true, 30)) {
// line 31
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 31, $this->source); })()), "username", [], "any", false, false, true, 31), 31, $this->source), 'row', $this->env->getFunction('coreshop_test_form_attribute')->getCallable()("reset-username"));
echo "
";
}
// line 33
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 33, $this->source); })()), 33, $this->source), 'rest');
echo "
<div class=\"form-group pw-req\">
<button type=\"submit\" id=\"customer_submit\" name=\"customer[submit]\"
class=\"btn-primary btn btn-primary-fix\">
Új jelszó igénylése
</button>
</div>
";
// line 40
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock($this->sandbox->ensureToStringAllowed((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 40, $this->source); })()), 40, $this->source), 'form_end');
echo "
</div>
</div>
</div>
</div>
</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@CoreShopFrontend/Register/password-reset-request.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 126 => 40, 115 => 33, 109 => 31, 107 => 30, 104 => 29, 101 => 25, 99 => 24, 94 => 22, 80 => 10, 70 => 9, 60 => 6, 58 => 7, 55 => 4, 52 => 2, 50 => 1, 37 => 6,);
}
public function getSourceContext()
{
return new Source("{% if pimcore_site_is_request() %}
{% set _layout = 'seikoclub/layout.html.twig' %}
{% else %}
{% set _layout = '@CoreShopFrontend/layout.html.twig' %}
{% endif %}
{% extends _layout %}
{% form_theme form 'form/reg_login_form_layout.html.twig' %}
{% block content %}
<div class=\"container\">
<div class=\"profile-title-row\">
<h1>PROFIL</h1>
</div>
</div>
<section id=\"regBox\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12 col-md-8 offset-md-2\">
<p class=\"color-white\">Elfelejtett jelszó? Az email cím megadását követően küldünk egy
hivatkozást, amelynek segítségével új jelszót lehet létrehozni.</p>
<div class=\"inner\">
{{ form_start(form, {attr: {'novalidate': 'novalidate'}}) }}
{% if form.email is defined %}
{{ form_row(form.email, {
'attr': {
'placeholder': 'coreshop.ui.email_address.required'
}
}) }}
{% elseif form.username is defined %}
{{ form_row(form.username, coreshop_test_form_attribute('reset-username')) }}
{% endif %}
{{ form_rest(form) }}
<div class=\"form-group pw-req\">
<button type=\"submit\" id=\"customer_submit\" name=\"customer[submit]\"
class=\"btn-primary btn btn-primary-fix\">
Új jelszó igénylése
</button>
</div>
{{ form_end(form) }}
</div>
</div>
</div>
</div>
</section>
{% endblock %}", "@CoreShopFrontend/Register/password-reset-request.html.twig", "/home/zoltan/public_html/boutique-v2/templates/seikoboutique/templates/bundles/CoreShopFrontendBundle/Register/password-reset-request.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 1, "set" => 2, "form_theme" => 7);
static $filters = array();
static $functions = array("pimcore_site_is_request" => 1, "form_start" => 22, "form_row" => 25, "coreshop_test_form_attribute" => 31, "form_rest" => 33, "form_end" => 40);
try {
$this->sandbox->checkSecurity(
['if', 'set', 'form_theme'],
[],
['pimcore_site_is_request', 'form_start', 'form_row', 'coreshop_test_form_attribute', 'form_rest', 'form_end']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}