var/cache/dev/twig/5d/5d52d3cdb8294d649298636f8bc00348.php line 39

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. /* bundles/SyliusShopBundle/register.html.twig */
  14. class __TwigTemplate_94295eb3d20de5287ebe03c059db104b 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.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "@SyliusShop/layout.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""bundles/SyliusShopBundle/register.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""bundles/SyliusShopBundle/register.html.twig"));
  39.         // line 3
  40.         $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);
  41.         // line 1
  42.         $this->parent $this->loadTemplate("@SyliusShop/layout.html.twig""bundles/SyliusShopBundle/register.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 5
  50.     public function block_title($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  57.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.register_in_the_store"), "html"nulltrue);
  58.         echo " | ";
  59.         $this->displayParentBlock("title"$context$blocks);
  60.         
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  62.         
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  64.     }
  65.     // line 7
  66.     public function block_content($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  73.         // line 8
  74.         echo "    <section class=\"formulaire container-h\">
  75.         <div class=\"\" id=\"container-form\">
  76.             <h1>Créez votre compte sur Bikers Avenue</h1>
  77.             <p>
  78.                 Rejoignez notre communauté et profitez de tous nos avantages : acheter et vendre, événements, infos.
  79.             </p>
  80.             <div class=\"ui padded segment\">
  81.                 ";
  82.         // line 16
  83.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.register.before_form");
  84.         echo "
  85.                 ";
  86.         // line 18
  87.         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.'18$this->source); })()), 'form_start', ["action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_register"), "attr" => ["class" => "ui loadable form""novalidate" => "novalidate"]]);
  88.         echo "
  89.                 ";
  90.         // line 19
  91.         $this->loadTemplate("@SyliusShop/Register/_form.html.twig""bundles/SyliusShopBundle/register.html.twig"19)->display($context);
  92.         // line 20
  93.         echo "                ";
  94.         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.'20$this->source); })())]);
  95.         echo "
  96.                 <button type=\"submit\" class=\"ui large primary button\" ";
  97.         // line 22
  98.         echo $this->env->getFunction('sylius_test_html_attribute')->getCallable()("register-button");
  99.         echo ">
  100.                     ";
  101.         // line 23
  102.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.create_an_account"), "html"nulltrue);
  103.         echo "
  104.                 </button>
  105.                 ";
  106.         // line 25
  107.         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.'25$this->source); })()), "_token", [], "any"falsefalsefalse25), 'row');
  108.         echo "
  109.                 ";
  110.         // line 26
  111.         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.'26$this->source); })()), 'form_end', ["render_rest" => false]);
  112.         echo "
  113.             </div>
  114.         </div>
  115.     </section>
  116.     <style>
  117.         .container-h{
  118.             margin-top: 25px;
  119.             }
  120.     </style>
  121. ";
  122.         
  123.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  124.         
  125.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  126.     }
  127.     public function getTemplateName()
  128.     {
  129.         return "bundles/SyliusShopBundle/register.html.twig";
  130.     }
  131.     public function isTraitable()
  132.     {
  133.         return false;
  134.     }
  135.     public function getDebugInfo()
  136.     {
  137.         return array (  133 => 26,  129 => 25,  124 => 23,  120 => 22,  114 => 20,  112 => 19,  108 => 18,  103 => 16,  93 => 8,  83 => 7,  62 => 5,  51 => 1,  49 => 3,  36 => 1,);
  138.     }
  139.     public function getSourceContext()
  140.     {
  141.         return new Source("{% extends '@SyliusShop/layout.html.twig' %}
  142. {% form_theme form '@SyliusShop/Form/theme.html.twig' %}
  143. {% block title %}{{ 'sylius.ui.register_in_the_store'|trans }} | {{ parent() }}{% endblock %}
  144. {% block content %}
  145.     <section class=\"formulaire container-h\">
  146.         <div class=\"\" id=\"container-form\">
  147.             <h1>Créez votre compte sur Bikers Avenue</h1>
  148.             <p>
  149.                 Rejoignez notre communauté et profitez de tous nos avantages : acheter et vendre, événements, infos.
  150.             </p>
  151.             <div class=\"ui padded segment\">
  152.                 {{ sylius_template_event('sylius.shop.register.before_form') }}
  153.                 {{ form_start(form, {'action': path('sylius_shop_register'), 'attr': {'class': 'ui loadable form', 'novalidate': 'novalidate'}}) }}
  154.                 {% include '@SyliusShop/Register/_form.html.twig' %}
  155.                 {{ sylius_template_event('sylius.shop.register.form', {'form': form}) }}
  156.                 <button type=\"submit\" class=\"ui large primary button\" {{ sylius_test_html_attribute('register-button') }}>
  157.                     {{ 'sylius.ui.create_an_account'|trans }}
  158.                 </button>
  159.                 {{ form_row(form._token) }}
  160.                 {{ form_end(form, {'render_rest': false}) }}
  161.             </div>
  162.         </div>
  163.     </section>
  164.     <style>
  165.         .container-h{
  166.             margin-top: 25px;
  167.             }
  168.     </style>
  169. {% endblock %}
  170. ""bundles/SyliusShopBundle/register.html.twig""/var/www/Bikers/templates/bundles/SyliusShopBundle/register.html.twig");
  171.     }
  172. }