var/cache/dev/twig/32/326c731c0eb1b0ed028bda741421dc58bd85775299408d36afcb01ead1478e76.php line 40

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_62cbbbdc6aa132b947a715965981310eecdcf5b064c93784e6d3fda2d6a8ce90 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.             'title' => [$this'block_title'],
  24.             'content' => [$this'block_content'],
  25.             'breadcrumb' => [$this'block_breadcrumb'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "@SyliusShop/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/login.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/login.html.twig"));
  40.         // line 3
  41.         $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.'3$this->source); })()), [=> "@SyliusShop/Form/theme.html.twig"], true);
  42.         // line 1
  43.         $this->parent $this->loadTemplate("@SyliusShop/layout.html.twig""@SyliusShop/login.html.twig"1);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  47.         
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  49.     }
  50.     // line 5
  51.     public function block_title($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  58.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.customer_login"), "html"nulltrue);
  59.         echo " | ";
  60.         $this->displayParentBlock("title"$context$blocks);
  61.         
  62.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  63.         
  64.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  65.     }
  66.     // line 7
  67.     public function block_content($context, array $blocks = [])
  68.     {
  69.         $macros $this->macros;
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  71.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  73.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  74.         // line 8
  75.         echo "    ";
  76.         $this->loadTemplate("@SyliusShop/Login/_header.html.twig""@SyliusShop/login.html.twig"8)->display($context);
  77.         // line 9
  78.         echo "
  79.     ";
  80.         // line 10
  81.         $this->displayBlock('breadcrumb'$context$blocks);
  82.         // line 13
  83.         echo "
  84.     ";
  85.         // line 14
  86.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.login.after_content_header");
  87.         echo "
  88.     <div class=\"ui padded segment pageLogin\">
  89.         <div class=\"ui two column very relaxed stackable grid\">
  90.             <div class=\"column\">
  91.                 <h4>Déjà inscrit ?</h4>
  92.                 <div>
  93.                     ";
  94.         // line 21
  95.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.login.main_column"$context);
  96.         echo "
  97.                 </div>
  98.             </div>
  99.             <div class=\"ui hidden vertical divider\"></div>
  100.             <div class=\"column column__createdAccount\">
  101.                 <h4>Création de compte</h4>
  102.                 <div>
  103.                     <p>Pour commencer vos achats, inscrivez-vous</p>
  104.                     ";
  105.         // line 30
  106.         echo "                    <a href=\"";
  107.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_register");
  108.         echo "?t=establishment\">Entreprise</a><br>
  109.                     <a href=\"";
  110.         // line 31
  111.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_register");
  112.         echo "?t=individual\" target=\"_blank\">Particulier</a><br>
  113.                     <div class=\"column__particular\">Vous souhaitez adhérer à la FNTV ?&nbsp;<a href=\"http://extranet-fntv.preprod-parishanghai.com/demande-adherent\">Cliquez ici</a></div>
  114.                 </div>
  115.             </div>
  116.         </div>
  117.         <div class=\"swiperBestSelling\">
  118.             <div class=\"Product_Box_content--title\">Meilleures ventes</div>
  119.             ";
  120.         // line 39
  121.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Shop\\HomepageController:renderBestSelling", ["grid" => 3]));
  122.         // line 41
  123.         echo "
  124.         </div>
  125.     </div>
  126. ";
  127.         
  128.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  129.         
  130.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  131.     }
  132.     // line 10
  133.     public function block_breadcrumb($context, array $blocks = [])
  134.     {
  135.         $macros $this->macros;
  136.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  137.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  138.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  139.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  140.         // line 11
  141.         echo "        ";
  142.         $this->loadTemplate("bundles/SyliusShopBundle/Login/_breadcrumb.html.twig""@SyliusShop/login.html.twig"11)->display($context);
  143.         // line 12
  144.         echo "    ";
  145.         
  146.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  147.         
  148.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  149.     }
  150.     public function getTemplateName()
  151.     {
  152.         return "@SyliusShop/login.html.twig";
  153.     }
  154.     public function isTraitable()
  155.     {
  156.         return false;
  157.     }
  158.     public function getDebugInfo()
  159.     {
  160.         return array (  170 => 12,  167 => 11,  157 => 10,  144 => 41,  142 => 39,  131 => 31,  126 => 30,  115 => 21,  105 => 14,  102 => 13,  100 => 10,  97 => 9,  94 => 8,  84 => 7,  63 => 5,  52 => 1,  50 => 3,  37 => 1,);
  161.     }
  162.     public function getSourceContext()
  163.     {
  164.         return new Source("{% extends '@SyliusShop/layout.html.twig' %}
  165. {% form_theme form '@SyliusShop/Form/theme.html.twig' %}
  166. {% block title %}{{ 'sylius.ui.customer_login'|trans }} | {{ parent() }}{% endblock %}
  167. {% block content %}
  168.     {% include '@SyliusShop/Login/_header.html.twig' %}
  169.     {% block breadcrumb %}
  170.         {% include 'bundles/SyliusShopBundle/Login/_breadcrumb.html.twig' %}
  171.     {% endblock %}
  172.     {{ sylius_template_event('sylius.shop.login.after_content_header') }}
  173.     <div class=\"ui padded segment pageLogin\">
  174.         <div class=\"ui two column very relaxed stackable grid\">
  175.             <div class=\"column\">
  176.                 <h4>Déjà inscrit ?</h4>
  177.                 <div>
  178.                     {{ sylius_template_event('sylius.shop.login.main_column', _context) }}
  179.                 </div>
  180.             </div>
  181.             <div class=\"ui hidden vertical divider\"></div>
  182.             <div class=\"column column__createdAccount\">
  183.                 <h4>Création de compte</h4>
  184.                 <div>
  185.                     <p>Pour commencer vos achats, inscrivez-vous</p>
  186.                     {# {{ sylius_template_event('sylius.shop.login.register_column', _context) }} #}
  187.                     <a href=\"{{ path('sylius_shop_register') }}?t=establishment\">Entreprise</a><br>
  188.                     <a href=\"{{ path('sylius_shop_register') }}?t=individual\" target=\"_blank\">Particulier</a><br>
  189.                     <div class=\"column__particular\">Vous souhaitez adhérer à la FNTV ?&nbsp;<a href=\"http://extranet-fntv.preprod-parishanghai.com/demande-adherent\">Cliquez ici</a></div>
  190.                 </div>
  191.             </div>
  192.         </div>
  193.         <div class=\"swiperBestSelling\">
  194.             <div class=\"Product_Box_content--title\">Meilleures ventes</div>
  195.             {{ render(controller('App\\\\Controller\\\\Shop\\\\HomepageController:renderBestSelling', {
  196.                 'grid': 3
  197.             })) }}
  198.         </div>
  199.     </div>
  200. {% endblock %}
  201. ""@SyliusShop/login.html.twig""/var/www/html/templates/bundles/SyliusShopBundle/login.html.twig");
  202.     }
  203. }