<?php
use Twig\Environment;
use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
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;
/* @ThemeOkeOnline/storefront/page/account/register/index.html.twig */
class __TwigTemplate_e81db06bdb67c9aac946a49160ccc531 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'page_account_register_inner' => [$this, 'block_page_account_register_inner'],
'page_account_register_login_container' => [$this, 'block_page_account_register_login_container'],
'page_account_register_advantages' => [$this, 'block_page_account_register_advantages'],
'page_account_register_container' => [$this, 'block_page_account_register_container'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@Storefront/storefront/page/account/register/index.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", "@ThemeOkeOnline/storefront/page/account/register/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ThemeOkeOnline/storefront/page/account/register/index.html.twig"));
$context["seperateLoginAndRegister"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "accountSettingsLayoutSeperateLoginAndSignup");
$this->parent = $this->loadTemplate("@Storefront/storefront/page/account/register/index.html.twig", "@ThemeOkeOnline/storefront/page/account/register/index.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 4
public function block_page_account_register_inner($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", "page_account_register_inner"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_account_register_inner"));
// line 5
echo " <div class=\"row justify-content-center mt-4\">
";
// line 6
if (((($context["seperateLoginAndRegister"] ?? null) == false) || ((($context["seperateLoginAndRegister"] ?? null) == true) && (($context["activeRoute"] ?? null) == "frontend.account.login.page")))) {
// line 7
echo " ";
$this->displayBlock('page_account_register_login_container', $context, $blocks);
// line 18
echo " ";
}
// line 19
echo "
";
// line 20
if (((($context["seperateLoginAndRegister"] ?? null) == false) || ((($context["seperateLoginAndRegister"] ?? null) == true) && (($context["activeRoute"] ?? null) == "frontend.account.register.page")))) {
// line 21
echo " ";
$this->displayBlock('page_account_register_container', $context, $blocks);
// line 29
echo " ";
}
// line 30
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 7
public function block_page_account_register_login_container($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", "page_account_register_login_container"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_account_register_login_container"));
// line 8
echo " <div class=\"";
echo ((($context["seperateLoginAndRegister"] ?? null)) ? ("col-lg-6") : ("col-lg-4"));
echo "\">
";
// line 9
$this->loadTemplate("@ThemeOkeOnline/storefront/component/account/login.html.twig", "@ThemeOkeOnline/storefront/page/account/register/index.html.twig", 9)->display(twig_array_merge($context, ["cardTitle" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("account.loginHeader"))]));
// line 12
echo "
";
// line 13
$this->displayBlock('page_account_register_advantages', $context, $blocks);
// line 16
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 13
public function block_page_account_register_advantages($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", "page_account_register_advantages"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_account_register_advantages"));
// line 14
echo " ";
$this->displayParentBlock("page_account_register_advantages", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 21
public function block_page_account_register_container($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", "page_account_register_container"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_account_register_container"));
// line 22
echo " ";
if (($context["seperateLoginAndRegister"] ?? null)) {
echo "<div class=\"h2\">Registreren</div>";
}
// line 23
echo " <div class=\"";
echo ((($context["seperateLoginAndRegister"] ?? null)) ? ("col-lg-12") : ("col-lg-8"));
echo "\">
";
// line 24
$this->loadTemplate("@OkeonlineAtcCustom/storefront/component/account/register.html.twig", "@ThemeOkeOnline/storefront/page/account/register/index.html.twig", 24)->display(twig_array_merge($context, ["cardTitle" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("account.registerPersonalHeader"))]));
// line 27
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@ThemeOkeOnline/storefront/page/account/register/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 183 => 27, 181 => 24, 176 => 23, 171 => 22, 161 => 21, 148 => 14, 138 => 13, 127 => 16, 125 => 13, 122 => 12, 120 => 9, 115 => 8, 105 => 7, 94 => 30, 91 => 29, 88 => 21, 86 => 20, 83 => 19, 80 => 18, 77 => 7, 75 => 6, 72 => 5, 62 => 4, 38 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@parent/storefront/page/account/register/index.html.twig' %}
{% set seperateLoginAndRegister = theme_config('accountSettingsLayoutSeperateLoginAndSignup') %}
{% block page_account_register_inner %}
<div class=\"row justify-content-center mt-4\">
{% if seperateLoginAndRegister == false or ( seperateLoginAndRegister == true and activeRoute == 'frontend.account.login.page' ) %}
{% block page_account_register_login_container %}
<div class=\"{{ seperateLoginAndRegister ? 'col-lg-6' : 'col-lg-4' }}\">
{% sw_include '@Storefront/storefront/component/account/login.html.twig' with {
'cardTitle': \"account.loginHeader\"|trans|sw_sanitize
} %}
{% block page_account_register_advantages %}
{{ parent() }}
{% endblock %}
</div>
{% endblock %}
{% endif %}
{% if seperateLoginAndRegister == false or ( seperateLoginAndRegister == true and activeRoute == 'frontend.account.register.page' ) %}
{% block page_account_register_container %}
{% if seperateLoginAndRegister %}<div class=\"h2\">Registreren</div>{% endif %}
<div class=\"{{ seperateLoginAndRegister ? 'col-lg-12' : 'col-lg-8' }}\">
{% sw_include '@Storefront/storefront/component/account/register.html.twig' with {
'cardTitle': \"account.registerPersonalHeader\"|trans|sw_sanitize
} %}
</div>
{% endblock %}
{% endif %}
</div>
{% endblock %}", "@ThemeOkeOnline/storefront/page/account/register/index.html.twig", "/home/atc/shopware/custom/plugins/ThemeOkeonline/src/Resources/views/storefront/page/account/register/index.html.twig");
}
}