var/cache/dev/twig/1d/1d2ab235e66aef30d7c4a552584a2b5a048d8da944619556de92b93fddeebfbd.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/register.html.twig */
  14. class __TwigTemplate_72a74bb75983711520612a73970b7dbf3b192320ce642293be61603ee176f3ac 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/register.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/register.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/register.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.register_in_the_store"), "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 "    <div class=\"commun-logging  bg-perso-point pt-0 pt-md-3\"> 
  76.         <div class=\"max-container-2 px-xl-0\">
  77.             ";
  78.         // line 10
  79.         $this->displayBlock('breadcrumb'$context$blocks);
  80.         // line 18
  81.         echo "            <div class=\"py-2 py-md-3 px-0\"> 
  82.                 <div class=\"text-center\">";
  83.         // line 19
  84.         $this->loadTemplate("@SyliusShop/Register/_header.html.twig""@SyliusShop/register.html.twig"19)->display($context);
  85.         echo "</div>
  86.                 <div class=\"row form-perso-content\">
  87.                     <div class=\"col-md-8 offset-md-2 col-12 \">
  88.                         ";
  89.         // line 22
  90.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.register.after_content_header");
  91.         echo "
  92.                         <div class=\"card table-perso rounded-0\">
  93.                             <div class=\"card-body rounded-0 form-perso-content p-0\">
  94.                                 ";
  95.         // line 26
  96.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.register.before_form");
  97.         echo "
  98.                                 ";
  99.         // line 28
  100.         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.'28$this->source); })()), 'form_start', ["action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_register"), "attr" => ["class" => "loadable""novalidate" => "novalidate"]]);
  101.         echo "
  102.                                     ";
  103.         // line 29
  104.         $this->loadTemplate("@SyliusShop/Register/_form.html.twig""@SyliusShop/register.html.twig"29)->display($context);
  105.         // line 30
  106.         echo "
  107.                                     ";
  108.         // line 31
  109.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.register.form", ["form" => (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'31$this->source); })())]);
  110.         echo "
  111.                                     <div class=\"p-3 p-md-4 text-center\">
  112.                                         <button type=\"submit\" class=\"btn-link transition-bgcolor minw-verybig border-0 bg-green-light text-white mt-3  font-seize py-3 bg-gradient-hover\" ";
  113.         // line 33
  114.         echo $this->env->getFunction('sylius_test_html_attribute')->getCallable()("register-button");
  115.         echo ">
  116.                                             <span>";
  117.         // line 34
  118.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.create_an_account"), "html"nulltrue);
  119.         echo "</span>
  120.                                         </button>
  121.                                     </div>
  122.                                 ";
  123.         // line 37
  124.         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.'37$this->source); })()), "_token", [], "any"falsefalsefalse37), 'row');
  125.         echo "
  126.                                 ";
  127.         // line 38
  128.         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.'38$this->source); })()), 'form_end', ["render_rest" => false]);
  129.         echo "
  130.                             </div>
  131.                         </div>
  132.                     </div>
  133.                 </div>
  134.             </div>
  135.         </div>
  136.     </div>
  137. ";
  138.         
  139.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  140.         
  141.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  142.     }
  143.     // line 10
  144.     public function block_breadcrumb($context, array $blocks = [])
  145.     {
  146.         $macros $this->macros;
  147.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  148.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  149.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  150.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  151.         echo "  
  152.                 <nav>
  153.                     <ol class=\"breadcrumb m-0 ariane-box\">
  154.                         <li class=\"breadcrumb-item\"><a href=\"";
  155.         // line 13
  156.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_homepage");
  157.         echo "\">";
  158.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.home"), "html"nulltrue);
  159.         echo "</a></li>
  160.                         <li class=\"breadcrumb-item\"><a href=\"";
  161.         // line 14
  162.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_login");
  163.         echo "\">";
  164.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.sign_in"), "html"nulltrue);
  165.         echo "</a></li>
  166.                     </ol>
  167.                 </nav>
  168.             ";
  169.         
  170.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  171.         
  172.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  173.     }
  174.     public function getTemplateName()
  175.     {
  176.         return "@SyliusShop/register.html.twig";
  177.     }
  178.     public function isTraitable()
  179.     {
  180.         return false;
  181.     }
  182.     public function getDebugInfo()
  183.     {
  184.         return array (  188 => 14,  182 => 13,  168 => 10,  149 => 38,  145 => 37,  139 => 34,  135 => 33,  130 => 31,  127 => 30,  125 => 29,  121 => 28,  116 => 26,  109 => 22,  103 => 19,  100 => 18,  98 => 10,  94 => 8,  84 => 7,  63 => 5,  52 => 1,  50 => 3,  37 => 1,);
  185.     }
  186.     public function getSourceContext()
  187.     {
  188.         return new Source("{% extends '@SyliusShop/layout.html.twig' %}
  189. {% form_theme form '@SyliusShop/Form/theme.html.twig' %}
  190. {% block title %}{{ 'sylius.ui.register_in_the_store'|trans }} | {{ parent() }}{% endblock %}
  191. {% block content %}
  192.     <div class=\"commun-logging  bg-perso-point pt-0 pt-md-3\"> 
  193.         <div class=\"max-container-2 px-xl-0\">
  194.             {% block breadcrumb %}  
  195.                 <nav>
  196.                     <ol class=\"breadcrumb m-0 ariane-box\">
  197.                         <li class=\"breadcrumb-item\"><a href=\"{{ path('sylius_shop_homepage') }}\">{{ 'sylius.ui.home'|trans }}</a></li>
  198.                         <li class=\"breadcrumb-item\"><a href=\"{{ path('sylius_shop_login') }}\">{{ 'sylius.ui.sign_in'|trans }}</a></li>
  199.                     </ol>
  200.                 </nav>
  201.             {% endblock %}
  202.             <div class=\"py-2 py-md-3 px-0\"> 
  203.                 <div class=\"text-center\">{% include '@SyliusShop/Register/_header.html.twig' %}</div>
  204.                 <div class=\"row form-perso-content\">
  205.                     <div class=\"col-md-8 offset-md-2 col-12 \">
  206.                         {{ sylius_template_event('sylius.shop.register.after_content_header') }}
  207.                         <div class=\"card table-perso rounded-0\">
  208.                             <div class=\"card-body rounded-0 form-perso-content p-0\">
  209.                                 {{ sylius_template_event('sylius.shop.register.before_form') }}
  210.                                 {{ form_start(form, {'action': path('sylius_shop_register'), 'attr': {'class': 'loadable', 'novalidate': 'novalidate'}}) }}
  211.                                     {% include '@SyliusShop/Register/_form.html.twig' %}
  212.                                     {{ sylius_template_event('sylius.shop.register.form', {'form': form}) }}
  213.                                     <div class=\"p-3 p-md-4 text-center\">
  214.                                         <button type=\"submit\" class=\"btn-link transition-bgcolor minw-verybig border-0 bg-green-light text-white mt-3  font-seize py-3 bg-gradient-hover\" {{ sylius_test_html_attribute('register-button') }}>
  215.                                             <span>{{ 'sylius.ui.create_an_account'|trans }}</span>
  216.                                         </button>
  217.                                     </div>
  218.                                 {{ form_row(form._token) }}
  219.                                 {{ form_end(form, {'render_rest': false}) }}
  220.                             </div>
  221.                         </div>
  222.                     </div>
  223.                 </div>
  224.             </div>
  225.         </div>
  226.     </div>
  227. {% endblock %}
  228. ""@SyliusShop/register.html.twig""/home/6nergiesboutique/www_preprod/themes/BootstrapTheme/templates/bundles/SyliusShopBundle/register.html.twig");
  229.     }
  230. }