var/cache/dev/twig/54/54f9083fe850ea7d138221a47cb0d73df0ee1c8d72b4bf1ed9a03299d13d3432.php line 55

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @SyliusShop/login.html.twig */
  14. class __TwigTemplate_ac1386e13ada826c3d6b5649f65b2245858cde373f376523651bc6ed11fcc457 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'banner' => [$this'block_banner'],
  24.             'title' => [$this'block_title'],
  25.             'metatags' => [$this'block_metatags'],
  26.             'content' => [$this'block_content'],
  27.             'breadcrumb' => [$this'block_breadcrumb'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "@SyliusShop/layout.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/login.html.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/login.html.twig"));
  42.         // line 8
  43.         $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); })()), [=> "@SyliusShop/Form/theme.html.twig"], true);
  44.         // line 1
  45.         $this->parent $this->loadTemplate("@SyliusShop/layout.html.twig""@SyliusShop/login.html.twig"1);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 3
  53.     public function block_banner($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""banner"));
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""banner"));
  60.         // line 4
  61.         echo "    ";
  62.         
  63.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  64.         
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  66.     }
  67.     // line 10
  68.     public function block_title($context, array $blocks = [])
  69.     {
  70.         $macros $this->macros;
  71.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  73.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  75.         echo "Connexion
  76. ";
  77.         
  78.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  79.         
  80.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  81.     }
  82.     // line 12
  83.     public function block_metatags($context, array $blocks = [])
  84.     {
  85.         $macros $this->macros;
  86.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  87.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  89.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  90.         // line 13
  91.         echo "\t<meta name=\"description\" content=\"\">
  92. ";
  93.         
  94.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  95.         
  96.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  97.     }
  98.     // line 18
  99.     public function block_content($context, array $blocks = [])
  100.     {
  101.         $macros $this->macros;
  102.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  103.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  104.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  105.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  106.         // line 19
  107.         echo "
  108. ";
  109.         // line 20
  110.         $this->displayBlock('breadcrumb'$context$blocks);
  111.         // line 27
  112.         echo "
  113.     ";
  114.         // line 29
  115.         $context["destination"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse29), "query", [], "any"falsefalsefalse29), "get", [=> "destination"], "method"falsefalsefalse29);
  116.         // line 30
  117.         echo "    ";
  118.         if (((isset($context["destination"]) || array_key_exists("destination"$context) ? $context["destination"] : (function () { throw new RuntimeError('Variable "destination" does not exist.'30$this->source); })()) == "")) {
  119.             // line 31
  120.             echo "        ";
  121.             $context["destination"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse31), "request", [], "any"falsefalsefalse31), "get", [=> "destination"], "method"falsefalsefalse31);
  122.             // line 32
  123.             echo "    ";
  124.         }
  125.         echo "    
  126.     ";
  127.         // line 33
  128.         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"falsefalsefalse33))) && twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse33), "started", [], "any"falsefalsefalse33)) &&  !(null === twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse33), "get", [=> "_sylius.cart.Mons"], "method"falsefalsefalse33)))) {
  129.             // line 34
  130.             echo "        ";
  131.             $context["destination"] = "cart";
  132.             // line 35
  133.             echo "    ";
  134.         }
  135.         // line 36
  136.         echo "
  137. \t<div class=\"ui hidden divider\"></div>
  138.     <h1 class=\"page__title\">
  139.         <span class=\"page__tagline\">
  140.         ";
  141.         // line 40
  142.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.shop"), "html"nulltrue);
  143.         echo "
  144.         </span>
  145.         ";
  146.         // line 42
  147.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.connectregister"), "html"nulltrue);
  148.         echo "
  149.     </h1>
  150. \t";
  151.         // line 46
  152.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.login.after_content_header");
  153.         echo "
  154. \t<div class=\"ui hidden divider\"></div>
  155. \t<div id=\"login-page\">
  156.         <div class=\"connexion\">
  157.             <div class=\"connexion__column register bg-dark\">
  158.                 <h4 class=\"dark-header dark-header--large\"><i class=\"fas fa-user-plus\"></i>";
  159.         // line 52
  160.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.no_account"), "html"nulltrue);
  161.         echo "
  162.                 </h4>
  163.                 <div class=\"connexion__content\">
  164.                     <p>
  165.                         ";
  166.         // line 56
  167.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.text_login"), "html"nulltrue);
  168.         echo "
  169.                     </p>
  170.                     <div class=\"text-right connexion__actions\">
  171.                         <br><br><br>
  172.                         ";
  173.         // line 60
  174.         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"))) {
  175.             // line 61
  176.             echo "                        <a href=\"";
  177.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_register");
  178.             echo "?destination=cart\" class=\"button button--secondary button--medium\">
  179.                             ";
  180.             // line 62
  181.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.create_an_account"), "html"nulltrue);
  182.             echo "
  183.                         </a>
  184.                         ";
  185.         } else {
  186.             // line 65
  187.             echo "                        <a href=\"";
  188.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_register");
  189.             echo "\" class=\"button button--secondary button--medium\">
  190.                             ";
  191.             // line 66
  192.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.create_an_account"), "html"nulltrue);
  193.             echo "
  194.                         </a>                        
  195.                         ";
  196.         }
  197.         // line 69
  198.         echo "                    </div>
  199.                 </div>
  200.             </div>
  201.             <div class=\"connexion__column login bg-dark\">
  202.                 <h4 class=\"dark-header dark-header--large\">
  203.                     <i class=\"fas fa-user\"></i>";
  204.         // line 76
  205.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.ok_account"), "html"nulltrue);
  206.         echo "
  207.                 </h4>
  208.                 ";
  209.         // line 79
  210.         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"))) {
  211.             // line 80
  212.             echo "                    ";
  213.             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"]]);
  214.             echo "
  215.                 ";
  216.         } else {
  217.             // line 81
  218.             echo "                                    
  219.                     ";
  220.             // line 82
  221.             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"]]);
  222.             echo "
  223.                 ";
  224.         }
  225.         // line 83
  226.         echo "                
  227.                 ";
  228.         // line 85
  229.         $macros["messages"] = $this->loadTemplate("@SyliusUi/Macro/messages.html.twig""@SyliusShop/login.html.twig"85)->unwrap();
  230.         // line 86
  231.         echo "
  232.                 ";
  233.         // line 87
  234.         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); })())) {
  235.             // line 88
  236.             echo "                    ";
  237.             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"falsefalsefalse88), 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"falsefalsefalse88), "security")], 88$context$this->getSourceContext());
  238.             echo "
  239.                 ";
  240.         }
  241.         // line 90
  242.         echo "
  243.                 ";
  244.         // line 91
  245.         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"falsefalsefalse91), 'row'$this->env->getFunction('sylius_test_form_attribute')->getCallable()("login-username"));
  246.         echo "
  247.                 ";
  248.         // line 92
  249.         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"falsefalsefalse92), 'row'$this->env->getFunction('sylius_test_form_attribute')->getCallable()("login-password"));
  250.         echo "
  251.                  
  252.                 ";
  253.         // line 94
  254.         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"))) {
  255.             // line 95
  256.             echo "                    ";
  257.             echo "                                       
  258.                     <input type=\"hidden\" value=\"cart\" name=\"destination\"/>
  259.                     <input type=\"hidden\" value=\"";
  260.             // line 97
  261.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_cart_summary");
  262.             echo "\" name=\"go_to\"/>
  263.                 ";
  264.         }
  265.         // line 99
  266.         echo "       
  267.                 <div class=\"connexion__actions\">
  268.                     <a href=\"";
  269.         // line 101
  270.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_request_password_reset_token");
  271.         echo "\" class=\"button button--link\">
  272.                         <i class=\"fas fa-question-circle\"></i>";
  273.         // line 102
  274.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.forgot_password"), "html"nulltrue);
  275.         echo "</a>
  276.                     <button type=\"submit\" class=\"button button--secondary button--medium\" ";
  277.         // line 104
  278.         echo $this->env->getFunction('sylius_test_html_attribute')->getCallable()("login-button");
  279.         echo ">
  280.                         ";
  281.         // line 105
  282.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.login"), "html"nulltrue);
  283.         echo "
  284.                     </button>
  285.                     <input type=\"hidden\" name=\"_csrf_shop_security_token\" value=\"";
  286.         // line 107
  287.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("shop_authenticate"), "html"nulltrue);
  288.         echo "\">
  289.                     ";
  290.         // line 108
  291.         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]);
  292.         echo "
  293.                 </div>
  294.             </div>
  295.         </div>
  296. \t</div>
  297.     <div class=\"citation\" data-aos=\"fade-up\">
  298.         <div class=\"container\">
  299.             <p>\t«&nbsp;";
  300.         // line 116
  301.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.text_login2"), "html"nulltrue);
  302.         echo "&nbsp;»</p>
  303.             <a class=\"button button--secondary button--medium\" href=\"";
  304.         // line 117
  305.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_frequently_asked_question_index");
  306.         echo "\">";
  307.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.faqmoredetail"), "html"nulltrue);
  308.         echo "</a>
  309.         </div>
  310.     </div>
  311. \t<div class=\"ui hidden divider\"></div>
  312. ";
  313.         
  314.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  315.         
  316.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  317.     }
  318.     // line 20
  319.     public function block_breadcrumb($context, array $blocks = [])
  320.     {
  321.         $macros $this->macros;
  322.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  323.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  324.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  325.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  326.         // line 21
  327.         echo "    <div class=\"ui breadcrumb\">
  328.         <a href=\"";
  329.         // line 22
  330.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_homepage");
  331.         echo "\" class=\"section\"><i class=\"fas fa-home\"></i><strong>Mons Fromages</strong></a>
  332.         <div class=\"divider\"> / </div>
  333.         <div class=\"active section\">";
  334.         // line 24
  335.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.sincrireouconnecter"), "html"nulltrue);
  336.         echo "</div>
  337.     </div>
  338. ";
  339.         
  340.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  341.         
  342.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  343.     }
  344.     public function getTemplateName()
  345.     {
  346.         return "@SyliusShop/login.html.twig";
  347.     }
  348.     public function isTraitable()
  349.     {
  350.         return false;
  351.     }
  352.     public function getDebugInfo()
  353.     {
  354.         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,);
  355.     }
  356.     public function getSourceContext()
  357.     {
  358.         return new Source("{% extends '@SyliusShop/layout.html.twig' %}
  359. {% block banner %}
  360.     {# render(url('odiseo_sylius_banner_plugin_shop_partial_banner', {'template': '@SyliusShop/Banner/banner1.html.twig'})) #}
  361. {% endblock %}
  362. {% form_theme form '@SyliusShop/Form/theme.html.twig' %}
  363. {% block title %}Connexion
  364. {% endblock %}
  365. {% block metatags %}
  366. \t<meta name=\"description\" content=\"\">
  367. {% endblock %}
  368. {% block content %}
  369. {% block breadcrumb %}
  370.     <div class=\"ui breadcrumb\">
  371.         <a href=\"{{ path('sylius_shop_homepage') }}\" class=\"section\"><i class=\"fas fa-home\"></i><strong>Mons Fromages</strong></a>
  372.         <div class=\"divider\"> / </div>
  373.         <div class=\"active section\">{{ 'sylius.ui.sincrireouconnecter'|trans }}</div>
  374.     </div>
  375. {% endblock %}
  376.     {% set destination = app.request.query.get(\"destination\") %}
  377.     {% if (destination == \"\") %}
  378.         {% set destination =  app.request.request.get(\"destination\") %}
  379.     {% endif %}    
  380.     {% if destination == \"\" and app.session is not null and app.session.started and app.session.get(\"_sylius.cart.Mons\")  is not null %}
  381.         {% set destination = \"cart\" %}
  382.     {% endif %}
  383. \t<div class=\"ui hidden divider\"></div>
  384.     <h1 class=\"page__title\">
  385.         <span class=\"page__tagline\">
  386.         {{ 'sylius.ui.shop'|trans }}
  387.         </span>
  388.         {{ 'sylius.ui.connectregister'|trans }}
  389.     </h1>
  390. \t{{ sylius_template_event('sylius.shop.login.after_content_header') }}
  391. \t<div class=\"ui hidden divider\"></div>
  392. \t<div id=\"login-page\">
  393.         <div class=\"connexion\">
  394.             <div class=\"connexion__column register bg-dark\">
  395.                 <h4 class=\"dark-header dark-header--large\"><i class=\"fas fa-user-plus\"></i>{{ 'sylius.ui.no_account'|trans }}
  396.                 </h4>
  397.                 <div class=\"connexion__content\">
  398.                     <p>
  399.                         {{ 'sylius.ui.text_login'|trans }}
  400.                     </p>
  401.                     <div class=\"text-right connexion__actions\">
  402.                         <br><br><br>
  403.                         {% if 'go_to' in form|keys or destination == \"cart\" %}
  404.                         <a href=\"{{ path('sylius_shop_register') }}?destination=cart\" class=\"button button--secondary button--medium\">
  405.                             {{ 'sylius.ui.create_an_account'|trans }}
  406.                         </a>
  407.                         {% else %}
  408.                         <a href=\"{{ path('sylius_shop_register') }}\" class=\"button button--secondary button--medium\">
  409.                             {{ 'sylius.ui.create_an_account'|trans }}
  410.                         </a>                        
  411.                         {% endif %}
  412.                     </div>
  413.                 </div>
  414.             </div>
  415.             <div class=\"connexion__column login bg-dark\">
  416.                 <h4 class=\"dark-header dark-header--large\">
  417.                     <i class=\"fas fa-user\"></i>{{ 'sylius.ui.ok_account'|trans }}
  418.                 </h4>
  419.                 {% if 'go_to' in form|keys or destination == \"cart\" %}
  420.                     {{ form_start(form, {'action': path('sylius_shop_login_check') ~ '?destination=cart', 'attr': {'autocomplete': 'off', 'class': 'connexion__content ui loadable form', 'novalidate': 'novalidate'}}) }}
  421.                 {% else %}                                    
  422.                     {{ form_start(form, {'action': path('sylius_shop_login_check'), 'attr': {'autocomplete': 'off', 'class': 'connexion__content ui loadable form', 'novalidate': 'novalidate'}}) }}
  423.                 {% endif %}                
  424.                 {% import '@SyliusUi/Macro/messages.html.twig' as messages %}
  425.                 {% if last_error %}
  426.                     {{ messages.error(last_error.messageKey|trans(last_error.messageData, 'security')) }}
  427.                 {% endif %}
  428.                 {{ form_row(form._username, sylius_test_form_attribute('login-username')) }}
  429.                 {{ form_row(form._password, sylius_test_form_attribute('login-password')) }}
  430.                  
  431.                 {% if 'go_to' in form|keys or destination == \"cart\" %}
  432.                     {# form_row(form.go_to, { 'value':  path('sylius_shop_cart_summary')  }) #}                                       
  433.                     <input type=\"hidden\" value=\"cart\" name=\"destination\"/>
  434.                     <input type=\"hidden\" value=\"{{ path('sylius_shop_cart_summary') }}\" name=\"go_to\"/>
  435.                 {% endif %}
  436.        
  437.                 <div class=\"connexion__actions\">
  438.                     <a href=\"{{ path('sylius_shop_request_password_reset_token') }}\" class=\"button button--link\">
  439.                         <i class=\"fas fa-question-circle\"></i>{{ 'sylius.ui.forgot_password'|trans }}</a>
  440.                     <button type=\"submit\" class=\"button button--secondary button--medium\" {{ sylius_test_html_attribute('login-button') }}>
  441.                         {{ 'sylius.ui.login'|trans }}
  442.                     </button>
  443.                     <input type=\"hidden\" name=\"_csrf_shop_security_token\" value=\"{{ csrf_token('shop_authenticate') }}\">
  444.                     {{ form_end(form, {'render_rest': false}) }}
  445.                 </div>
  446.             </div>
  447.         </div>
  448. \t</div>
  449.     <div class=\"citation\" data-aos=\"fade-up\">
  450.         <div class=\"container\">
  451.             <p>\t«&nbsp;{{ 'sylius.ui.text_login2'|trans }}&nbsp;»</p>
  452.             <a class=\"button button--secondary button--medium\" href=\"{{ path('bitbag_sylius_cms_plugin_shop_frequently_asked_question_index') }}\">{{ 'sylius.ui.faqmoredetail'|trans }}</a>
  453.         </div>
  454.     </div>
  455. \t<div class=\"ui hidden divider\"></div>
  456. {% endblock %}
  457. ""@SyliusShop/login.html.twig""/home/mons/site/www/templates/bundles/SyliusShopBundle/login.html.twig");
  458.     }
  459. }