<?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;
/* Account/forgotPassword.html.twig */
class __TwigTemplate_403d8836bc8b795b8d2b8ab2c65e6f09 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 1
return "signin.html.twig";
}
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", "Account/forgotPassword.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Account/forgotPassword.html.twig"));
$this->parent = $this->loadTemplate("signin.html.twig", "Account/forgotPassword.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 2
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 3
echo " <div class=\"container\">
<a href=\"/";
// line 4
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 4, $this->source); })()), 4, $this->source), "html", null, true);
echo "\"><img class=\"signin-logo\" src=\"/SA_logo_inst_Positive_RGB.png\" width=\"282\" alt=\"image description\"></a>
<div class=\"item-container forgot-password-form-wrapper forgot\">
<div class=\"row form-container\">
<div class=\"form-info\">
<h1>";
// line 8
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "headline");
echo "</h1>
<h2>";
// line 9
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "subline");
echo "</h2>
</div>
<p class=\"error-message-wrapper\"><span class=\"error-message\">";
// line 11
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["errormessage"]) || array_key_exists("errormessage", $context) ? $context["errormessage"] : (function () { throw new RuntimeError('Variable "errormessage" does not exist.', 11, $this->source); })()), 11, $this->source), "html", null, true);
echo "</span></p>
<form class=\"cart-form\" action=\"/";
// line 12
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 12, $this->source); })()), 12, $this->source), "html", null, true);
echo "/account/forgot-password\" method=\"post\">
";
// line 13
if ((isset($context["editpassword"]) || array_key_exists("editpassword", $context) ? $context["editpassword"] : (function () { throw new RuntimeError('Variable "editpassword" does not exist.', 13, $this->source); })())) {
// line 14
echo " <div class=\"form-row\">
<h4>";
// line 15
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("espirits.login.create-password"), "html", null, true);
echo " *</h4>
<label>
<input type=\"password\" name=\"password\" placeholder=\" ";
// line 17
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("espirits.login.password"), "html", null, true);
echo "\" required>
</label>
<div class=\"form-note\">";
// line 19
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "pwrequirement");
echo "</div>
</div>
<div class=\"form-row\">
<h4>";
// line 23
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("espirits.login.verify-password"), "html", null, true);
echo " *</h4>
<label>
<input type=\"password\" name=\"passwordverify\" placeholder=\"";
// line 25
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("espirits.login.verify-password"), "html", null, true);
echo "\" required>
</label>
</div>
";
} else {
// line 29
echo " <label><h4>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("espirits.login.email"), "html", null, true);
echo " *</h4>
<input type=\"email\" name=\"email\" required>
</label>
";
}
// line 33
echo " <button type=\"submit\" name=\"continue\" class=\"btn\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("espirits.login.continue"), "html", null, true);
echo "</button>
<div class=\"disclaimer\">
";
// line 35
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "disclaimer");
echo "
</div>
</form>
</div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "Account/forgotPassword.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 145 => 35, 139 => 33, 131 => 29, 124 => 25, 119 => 23, 112 => 19, 107 => 17, 102 => 15, 99 => 14, 97 => 13, 93 => 12, 89 => 11, 84 => 9, 80 => 8, 73 => 4, 70 => 3, 60 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'signin.html.twig' %}
{% block content %}
<div class=\"container\">
<a href=\"/{{ locale }}\"><img class=\"signin-logo\" src=\"/SA_logo_inst_Positive_RGB.png\" width=\"282\" alt=\"image description\"></a>
<div class=\"item-container forgot-password-form-wrapper forgot\">
<div class=\"row form-container\">
<div class=\"form-info\">
<h1>{{ pimcore_input(\"headline\") }}</h1>
<h2>{{ pimcore_input(\"subline\") }}</h2>
</div>
<p class=\"error-message-wrapper\"><span class=\"error-message\">{{ errormessage }}</span></p>
<form class=\"cart-form\" action=\"/{{ locale }}/account/forgot-password\" method=\"post\">
{% if editpassword %}
<div class=\"form-row\">
<h4>{{ \"espirits.login.create-password\"|trans }} *</h4>
<label>
<input type=\"password\" name=\"password\" placeholder=\" {{ \"espirits.login.password\"|trans }}\" required>
</label>
<div class=\"form-note\">{{ pimcore_input(\"pwrequirement\") }}</div>
</div>
<div class=\"form-row\">
<h4>{{ \"espirits.login.verify-password\"|trans }} *</h4>
<label>
<input type=\"password\" name=\"passwordverify\" placeholder=\"{{ \"espirits.login.verify-password\"|trans }}\" required>
</label>
</div>
{% else %}
<label><h4>{{ \"espirits.login.email\"|trans }} *</h4>
<input type=\"email\" name=\"email\" required>
</label>
{% endif %}
<button type=\"submit\" name=\"continue\" class=\"btn\">{{ \"espirits.login.continue\"|trans }}</button>
<div class=\"disclaimer\">
{{ pimcore_wysiwyg(\"disclaimer\") }}
</div>
</form>
</div>
</div>
</div>
{% endblock %}
", "Account/forgotPassword.html.twig", "/var/www/vhosts/centricdxb.com/pim2.centricdxb.com/templates/Account/forgotPassword.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 13);
static $filters = array("escape" => 4, "trans" => 15);
static $functions = array("pimcore_input" => 8, "pimcore_wysiwyg" => 35);
try {
$this->sandbox->checkSecurity(
['if'],
['escape', 'trans'],
['pimcore_input', 'pimcore_wysiwyg']
);
} 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;
}
}
}