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