<?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;
/* @SyliusShop/login.html.twig */
class __TwigTemplate_ac1386e13ada826c3d6b5649f65b2245858cde373f376523651bc6ed11fcc457 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'banner' => [$this, 'block_banner'],
'title' => [$this, 'block_title'],
'metatags' => [$this, 'block_metatags'],
'content' => [$this, 'block_content'],
'breadcrumb' => [$this, 'block_breadcrumb'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@SyliusShop/layout.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", "@SyliusShop/login.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SyliusShop/login.html.twig"));
// line 8
$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.', 8, $this->source); })()), [0 => "@SyliusShop/Form/theme.html.twig"], true);
// line 1
$this->parent = $this->loadTemplate("@SyliusShop/layout.html.twig", "@SyliusShop/login.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_banner($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", "banner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "banner"));
// line 4
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 10
public function block_title($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", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "Connexion
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 12
public function block_metatags($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", "metatags"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatags"));
// line 13
echo "\t<meta name=\"description\" content=\"\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 18
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 19
echo "
";
// line 20
$this->displayBlock('breadcrumb', $context, $blocks);
// line 27
echo "
";
// line 29
$context["destination"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 29, $this->source); })()), "request", [], "any", false, false, false, 29), "query", [], "any", false, false, false, 29), "get", [0 => "destination"], "method", false, false, false, 29);
// line 30
echo " ";
if (((isset($context["destination"]) || array_key_exists("destination", $context) ? $context["destination"] : (function () { throw new RuntimeError('Variable "destination" does not exist.', 30, $this->source); })()) == "")) {
// line 31
echo " ";
$context["destination"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 31, $this->source); })()), "request", [], "any", false, false, false, 31), "request", [], "any", false, false, false, 31), "get", [0 => "destination"], "method", false, false, false, 31);
// line 32
echo " ";
}
echo "
";
// line 33
if ((((((isset($context["destination"]) || array_key_exists("destination", $context) ? $context["destination"] : (function () { throw new RuntimeError('Variable "destination" does not exist.', 33, $this->source); })()) == "") && !(null === twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 33, $this->source); })()), "session", [], "any", false, false, false, 33))) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 33, $this->source); })()), "session", [], "any", false, false, false, 33), "started", [], "any", false, false, false, 33)) && !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 33, $this->source); })()), "session", [], "any", false, false, false, 33), "get", [0 => "_sylius.cart.Mons"], "method", false, false, false, 33)))) {
// line 34
echo " ";
$context["destination"] = "cart";
// line 35
echo " ";
}
// line 36
echo "
\t<div class=\"ui hidden divider\"></div>
<h1 class=\"page__title\">
<span class=\"page__tagline\">
";
// line 40
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.shop"), "html", null, true);
echo "
</span>
";
// line 42
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.connectregister"), "html", null, true);
echo "
</h1>
\t";
// line 46
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.login.after_content_header");
echo "
\t<div class=\"ui hidden divider\"></div>
\t<div id=\"login-page\">
<div class=\"connexion\">
<div class=\"connexion__column register bg-dark\">
<h4 class=\"dark-header dark-header--large\"><i class=\"fas fa-user-plus\"></i>";
// line 52
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.no_account"), "html", null, true);
echo "
</h4>
<div class=\"connexion__content\">
<p>
";
// line 56
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.text_login"), "html", null, true);
echo "
</p>
<div class=\"text-right connexion__actions\">
<br><br><br>
";
// line 60
if ((twig_in_filter("go_to", twig_get_array_keys_filter((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 60, $this->source); })()))) || ((isset($context["destination"]) || array_key_exists("destination", $context) ? $context["destination"] : (function () { throw new RuntimeError('Variable "destination" does not exist.', 60, $this->source); })()) == "cart"))) {
// line 61
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_register");
echo "?destination=cart\" class=\"button button--secondary button--medium\">
";
// line 62
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.create_an_account"), "html", null, true);
echo "
</a>
";
} else {
// line 65
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_register");
echo "\" class=\"button button--secondary button--medium\">
";
// line 66
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.create_an_account"), "html", null, true);
echo "
</a>
";
}
// line 69
echo " </div>
</div>
</div>
<div class=\"connexion__column login bg-dark\">
<h4 class=\"dark-header dark-header--large\">
<i class=\"fas fa-user\"></i>";
// line 76
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.ok_account"), "html", null, true);
echo "
</h4>
";
// line 79
if ((twig_in_filter("go_to", twig_get_array_keys_filter((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 79, $this->source); })()))) || ((isset($context["destination"]) || array_key_exists("destination", $context) ? $context["destination"] : (function () { throw new RuntimeError('Variable "destination" does not exist.', 79, $this->source); })()) == "cart"))) {
// line 80
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 80, $this->source); })()), 'form_start', ["action" => ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_login_check") . "?destination=cart"), "attr" => ["autocomplete" => "off", "class" => "connexion__content ui loadable form", "novalidate" => "novalidate"]]);
echo "
";
} else {
// line 81
echo "
";
// line 82
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 82, $this->source); })()), 'form_start', ["action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_login_check"), "attr" => ["autocomplete" => "off", "class" => "connexion__content ui loadable form", "novalidate" => "novalidate"]]);
echo "
";
}
// line 83
echo "
";
// line 85
$macros["messages"] = $this->loadTemplate("@SyliusUi/Macro/messages.html.twig", "@SyliusShop/login.html.twig", 85)->unwrap();
// line 86
echo "
";
// line 87
if ((isset($context["last_error"]) || array_key_exists("last_error", $context) ? $context["last_error"] : (function () { throw new RuntimeError('Variable "last_error" does not exist.', 87, $this->source); })())) {
// line 88
echo " ";
echo twig_call_macro($macros["messages"], "macro_error", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["last_error"]) || array_key_exists("last_error", $context) ? $context["last_error"] : (function () { throw new RuntimeError('Variable "last_error" does not exist.', 88, $this->source); })()), "messageKey", [], "any", false, false, false, 88), twig_get_attribute($this->env, $this->source, (isset($context["last_error"]) || array_key_exists("last_error", $context) ? $context["last_error"] : (function () { throw new RuntimeError('Variable "last_error" does not exist.', 88, $this->source); })()), "messageData", [], "any", false, false, false, 88), "security")], 88, $context, $this->getSourceContext());
echo "
";
}
// line 90
echo "
";
// line 91
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 91, $this->source); })()), "_username", [], "any", false, false, false, 91), 'row', $this->env->getFunction('sylius_test_form_attribute')->getCallable()("login-username"));
echo "
";
// line 92
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 92, $this->source); })()), "_password", [], "any", false, false, false, 92), 'row', $this->env->getFunction('sylius_test_form_attribute')->getCallable()("login-password"));
echo "
";
// line 94
if ((twig_in_filter("go_to", twig_get_array_keys_filter((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 94, $this->source); })()))) || ((isset($context["destination"]) || array_key_exists("destination", $context) ? $context["destination"] : (function () { throw new RuntimeError('Variable "destination" does not exist.', 94, $this->source); })()) == "cart"))) {
// line 95
echo " ";
echo "
<input type=\"hidden\" value=\"cart\" name=\"destination\"/>
<input type=\"hidden\" value=\"";
// line 97
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_cart_summary");
echo "\" name=\"go_to\"/>
";
}
// line 99
echo "
<div class=\"connexion__actions\">
<a href=\"";
// line 101
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_request_password_reset_token");
echo "\" class=\"button button--link\">
<i class=\"fas fa-question-circle\"></i>";
// line 102
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.forgot_password"), "html", null, true);
echo "</a>
<button type=\"submit\" class=\"button button--secondary button--medium\" ";
// line 104
echo $this->env->getFunction('sylius_test_html_attribute')->getCallable()("login-button");
echo ">
";
// line 105
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.login"), "html", null, true);
echo "
</button>
<input type=\"hidden\" name=\"_csrf_shop_security_token\" value=\"";
// line 107
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("shop_authenticate"), "html", null, true);
echo "\">
";
// line 108
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 108, $this->source); })()), 'form_end', ["render_rest" => false]);
echo "
</div>
</div>
</div>
\t</div>
<div class=\"citation\" data-aos=\"fade-up\">
<div class=\"container\">
<p>\t« ";
// line 116
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.text_login2"), "html", null, true);
echo " »</p>
<a class=\"button button--secondary button--medium\" href=\"";
// line 117
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_frequently_asked_question_index");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.faqmoredetail"), "html", null, true);
echo "</a>
</div>
</div>
\t<div class=\"ui hidden divider\"></div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 20
public function block_breadcrumb($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", "breadcrumb"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumb"));
// line 21
echo " <div class=\"ui breadcrumb\">
<a href=\"";
// line 22
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_homepage");
echo "\" class=\"section\"><i class=\"fas fa-home\"></i><strong>Mons Fromages</strong></a>
<div class=\"divider\"> / </div>
<div class=\"active section\">";
// line 24
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.sincrireouconnecter"), "html", null, true);
echo "</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@SyliusShop/login.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 380 => 24, 375 => 22, 372 => 21, 362 => 20, 344 => 117, 340 => 116, 329 => 108, 325 => 107, 320 => 105, 316 => 104, 311 => 102, 307 => 101, 303 => 99, 298 => 97, 293 => 95, 291 => 94, 286 => 92, 282 => 91, 279 => 90, 273 => 88, 271 => 87, 268 => 86, 266 => 85, 262 => 83, 257 => 82, 254 => 81, 248 => 80, 246 => 79, 240 => 76, 231 => 69, 225 => 66, 220 => 65, 214 => 62, 209 => 61, 207 => 60, 200 => 56, 193 => 52, 184 => 46, 177 => 42, 172 => 40, 166 => 36, 163 => 35, 160 => 34, 158 => 33, 153 => 32, 150 => 31, 147 => 30, 145 => 29, 141 => 27, 139 => 20, 136 => 19, 126 => 18, 115 => 13, 105 => 12, 85 => 10, 75 => 4, 65 => 3, 54 => 1, 52 => 8, 39 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@SyliusShop/layout.html.twig' %}
{% block banner %}
{# render(url('odiseo_sylius_banner_plugin_shop_partial_banner', {'template': '@SyliusShop/Banner/banner1.html.twig'})) #}
{% endblock %}
{% form_theme form '@SyliusShop/Form/theme.html.twig' %}
{% block title %}Connexion
{% endblock %}
{% block metatags %}
\t<meta name=\"description\" content=\"\">
{% endblock %}
{% block content %}
{% block breadcrumb %}
<div class=\"ui breadcrumb\">
<a href=\"{{ path('sylius_shop_homepage') }}\" class=\"section\"><i class=\"fas fa-home\"></i><strong>Mons Fromages</strong></a>
<div class=\"divider\"> / </div>
<div class=\"active section\">{{ 'sylius.ui.sincrireouconnecter'|trans }}</div>
</div>
{% endblock %}
{% set destination = app.request.query.get(\"destination\") %}
{% if (destination == \"\") %}
{% set destination = app.request.request.get(\"destination\") %}
{% endif %}
{% if destination == \"\" and app.session is not null and app.session.started and app.session.get(\"_sylius.cart.Mons\") is not null %}
{% set destination = \"cart\" %}
{% endif %}
\t<div class=\"ui hidden divider\"></div>
<h1 class=\"page__title\">
<span class=\"page__tagline\">
{{ 'sylius.ui.shop'|trans }}
</span>
{{ 'sylius.ui.connectregister'|trans }}
</h1>
\t{{ sylius_template_event('sylius.shop.login.after_content_header') }}
\t<div class=\"ui hidden divider\"></div>
\t<div id=\"login-page\">
<div class=\"connexion\">
<div class=\"connexion__column register bg-dark\">
<h4 class=\"dark-header dark-header--large\"><i class=\"fas fa-user-plus\"></i>{{ 'sylius.ui.no_account'|trans }}
</h4>
<div class=\"connexion__content\">
<p>
{{ 'sylius.ui.text_login'|trans }}
</p>
<div class=\"text-right connexion__actions\">
<br><br><br>
{% if 'go_to' in form|keys or destination == \"cart\" %}
<a href=\"{{ path('sylius_shop_register') }}?destination=cart\" class=\"button button--secondary button--medium\">
{{ 'sylius.ui.create_an_account'|trans }}
</a>
{% else %}
<a href=\"{{ path('sylius_shop_register') }}\" class=\"button button--secondary button--medium\">
{{ 'sylius.ui.create_an_account'|trans }}
</a>
{% endif %}
</div>
</div>
</div>
<div class=\"connexion__column login bg-dark\">
<h4 class=\"dark-header dark-header--large\">
<i class=\"fas fa-user\"></i>{{ 'sylius.ui.ok_account'|trans }}
</h4>
{% if 'go_to' in form|keys or destination == \"cart\" %}
{{ form_start(form, {'action': path('sylius_shop_login_check') ~ '?destination=cart', 'attr': {'autocomplete': 'off', 'class': 'connexion__content ui loadable form', 'novalidate': 'novalidate'}}) }}
{% else %}
{{ form_start(form, {'action': path('sylius_shop_login_check'), 'attr': {'autocomplete': 'off', 'class': 'connexion__content ui loadable form', 'novalidate': 'novalidate'}}) }}
{% endif %}
{% import '@SyliusUi/Macro/messages.html.twig' as messages %}
{% if last_error %}
{{ messages.error(last_error.messageKey|trans(last_error.messageData, 'security')) }}
{% endif %}
{{ form_row(form._username, sylius_test_form_attribute('login-username')) }}
{{ form_row(form._password, sylius_test_form_attribute('login-password')) }}
{% if 'go_to' in form|keys or destination == \"cart\" %}
{# form_row(form.go_to, { 'value': path('sylius_shop_cart_summary') }) #}
<input type=\"hidden\" value=\"cart\" name=\"destination\"/>
<input type=\"hidden\" value=\"{{ path('sylius_shop_cart_summary') }}\" name=\"go_to\"/>
{% endif %}
<div class=\"connexion__actions\">
<a href=\"{{ path('sylius_shop_request_password_reset_token') }}\" class=\"button button--link\">
<i class=\"fas fa-question-circle\"></i>{{ 'sylius.ui.forgot_password'|trans }}</a>
<button type=\"submit\" class=\"button button--secondary button--medium\" {{ sylius_test_html_attribute('login-button') }}>
{{ 'sylius.ui.login'|trans }}
</button>
<input type=\"hidden\" name=\"_csrf_shop_security_token\" value=\"{{ csrf_token('shop_authenticate') }}\">
{{ form_end(form, {'render_rest': false}) }}
</div>
</div>
</div>
\t</div>
<div class=\"citation\" data-aos=\"fade-up\">
<div class=\"container\">
<p>\t« {{ 'sylius.ui.text_login2'|trans }} »</p>
<a class=\"button button--secondary button--medium\" href=\"{{ path('bitbag_sylius_cms_plugin_shop_frequently_asked_question_index') }}\">{{ 'sylius.ui.faqmoredetail'|trans }}</a>
</div>
</div>
\t<div class=\"ui hidden divider\"></div>
{% endblock %}
", "@SyliusShop/login.html.twig", "/home/mons/site/www/templates/bundles/SyliusShopBundle/login.html.twig");
}
}