var/cache/dev/twig/c1/c1a33a4430747fd6d88a8d3cfe4eeab4fb5a89c387f1180ee25cc7d15e05b358.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_1dfe8cc5df8c90dffd3fd0103234fe5cff36f13ebeb0ac7229e5588ce5471c5d 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 "    ";
  76.         $this->displayBlock('breadcrumb'$context$blocks);
  77.         // line 11
  78.         echo "
  79.     ";
  80.         // line 12
  81.         $this->loadTemplate("@SyliusShop/Register/_header.html.twig""@SyliusShop/register.html.twig"12)->display($context);
  82.         // line 13
  83.         echo "
  84.     ";
  85.         // line 14
  86.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.register.after_content_header");
  87.         echo "
  88.     <div class=\"ui padded segment\">
  89.         ";
  90.         // line 17
  91.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.register.before_form");
  92.         echo "
  93.         ";
  94.         // line 19
  95.         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.'19$this->source); })()), 'form_start', ["action" => (($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_register") . "?t=") . 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.'19$this->source); })()), "request", [], "any"falsefalsefalse19), "query", [], "any"falsefalsefalse19), "get", [=> "t"], "method"falsefalsefalse19)), "attr" => ["class" => "ui loadable form""novalidate" => "novalidate"]]);
  96.         echo "
  97.             ";
  98.         // line 20
  99.         $this->loadTemplate("bundles/SyliusShopBundle/Register/_form.html.twig""@SyliusShop/register.html.twig"20)->display($context);
  100.         // line 21
  101.         echo "
  102.             ";
  103.         // line 22
  104.         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.'22$this->source); })())]);
  105.         echo "
  106.             <button type=\"submit\" class=\"ui large primary button\" ";
  107.         // line 24
  108.         echo $this->env->getFunction('sylius_test_html_attribute')->getCallable()("register-button");
  109.         echo ">
  110.                 ";
  111.         // line 25
  112.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.create_an_account"), "html"nulltrue);
  113.         echo "
  114.             </button>
  115.         ";
  116.         // line 27
  117.         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.'27$this->source); })()), "_token", [], "any"falsefalsefalse27), 'row');
  118.         echo "
  119.         ";
  120.         // line 28
  121.         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_end', ["render_rest" => false]);
  122.         echo "
  123.     </div>
  124. ";
  125.         
  126.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  127.         
  128.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  129.     }
  130.     // line 8
  131.     public function block_breadcrumb($context, array $blocks = [])
  132.     {
  133.         $macros $this->macros;
  134.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  135.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  136.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  137.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  138.         // line 9
  139.         echo "        ";
  140.         $this->loadTemplate("bundles/SyliusShopBundle/Register/_breadcrumb.html.twig""@SyliusShop/register.html.twig"9)->display($context);
  141.         // line 10
  142.         echo "    ";
  143.         
  144.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  145.         
  146.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  147.     }
  148.     public function getTemplateName()
  149.     {
  150.         return "@SyliusShop/register.html.twig";
  151.     }
  152.     public function isTraitable()
  153.     {
  154.         return false;
  155.     }
  156.     public function getDebugInfo()
  157.     {
  158.         return array (  169 => 10,  166 => 9,  156 => 8,  143 => 28,  139 => 27,  134 => 25,  130 => 24,  125 => 22,  122 => 21,  120 => 20,  116 => 19,  111 => 17,  105 => 14,  102 => 13,  100 => 12,  97 => 11,  94 => 8,  84 => 7,  63 => 5,  52 => 1,  50 => 3,  37 => 1,);
  159.     }
  160.     public function getSourceContext()
  161.     {
  162.         return new Source("{% extends '@SyliusShop/layout.html.twig' %}
  163. {% form_theme form '@SyliusShop/Form/theme.html.twig' %}
  164. {% block title %}{{ 'sylius.ui.register_in_the_store'|trans }} | {{ parent() }}{% endblock %}
  165. {% block content %}
  166.     {% block breadcrumb %}
  167.         {% include 'bundles/SyliusShopBundle/Register/_breadcrumb.html.twig' %}
  168.     {% endblock %}
  169.     {% include '@SyliusShop/Register/_header.html.twig' %}
  170.     {{ sylius_template_event('sylius.shop.register.after_content_header') }}
  171.     <div class=\"ui padded segment\">
  172.         {{ sylius_template_event('sylius.shop.register.before_form') }}
  173.         {{ form_start(form, {'action': path('sylius_shop_register') ~ '?t=' ~ app.request.query.get('t'), 'attr': {'class': 'ui loadable form', 'novalidate': 'novalidate'}}) }}
  174.             {% include 'bundles/SyliusShopBundle/Register/_form.html.twig' %}
  175.             {{ sylius_template_event('sylius.shop.register.form', {'form': form}) }}
  176.             <button type=\"submit\" class=\"ui large primary button\" {{ sylius_test_html_attribute('register-button') }}>
  177.                 {{ 'sylius.ui.create_an_account'|trans }}
  178.             </button>
  179.         {{ form_row(form._token) }}
  180.         {{ form_end(form, {'render_rest': false}) }}
  181.     </div>
  182. {% endblock %}
  183. ""@SyliusShop/register.html.twig""/var/www/html/templates/bundles/SyliusShopBundle/register.html.twig");
  184.     }
  185. }