var/cache/dev/twig/3c/3ccf573b63c37f3b240eff2fc90634c9.php line 93

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/Account/requestPasswordReset.html.twig */
  14. class __TwigTemplate_1aad58cca0d47ed5036195cf610f6cfa 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.             'stylesheets' => [$this'block_stylesheets'],
  24.             'javascripts' => [$this'block_javascripts'],
  25.             'title' => [$this'block_title'],
  26.             'content' => [$this'block_content'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "@SyliusShop/layout.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Account/requestPasswordReset.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Account/requestPasswordReset.html.twig"));
  41.         // line 3
  42.         $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);
  43.         // line 5
  44.         $macros["headers"] = $this->macros["headers"] = $this->loadTemplate("@SyliusShop/Common/Macro/headers.html.twig""@SyliusShop/Account/requestPasswordReset.html.twig"5)->unwrap();
  45.         // line 1
  46.         $this->parent $this->loadTemplate("@SyliusShop/layout.html.twig""@SyliusShop/Account/requestPasswordReset.html.twig"1);
  47.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  48.         
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  50.         
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  52.     }
  53.     // line 7
  54.     public function block_stylesheets($context, array $blocks = [])
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  61.         // line 8
  62.         echo "    ";
  63.         $this->displayParentBlock("stylesheets"$context$blocks);
  64.         echo "
  65.     ";
  66.         // line 9
  67.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("shop-app"null"bootstrapTheme");
  68.         echo "
  69. ";
  70.         
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  72.         
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  74.     }
  75.     // line 12
  76.     public function block_javascripts($context, array $blocks = [])
  77.     {
  78.         $macros $this->macros;
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  83.         // line 13
  84.         echo "    ";
  85.         $this->displayParentBlock("javascripts"$context$blocks);
  86.         echo "
  87.     ";
  88.         // line 14
  89.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("shop-app"null"bootstrapTheme");
  90.         echo "
  91. ";
  92.         
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  94.         
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  96.     }
  97.     // line 17
  98.     public function block_title($context, array $blocks = [])
  99.     {
  100.         $macros $this->macros;
  101.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  105.         // line 18
  106.         echo "    ";
  107.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("dedi_sylius_seo_plugin.title", ["resource" => (($context["product"]) ?? (twig_get_attribute($this->env$this->source, (isset($context["sylius"]) || array_key_exists("sylius"$context) ? $context["sylius"] : (function () { throw new RuntimeError('Variable "sylius" does not exist.'18$this->source); })()), "channel", [], "any"falsefalsefalse18))), "title" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.reset_password")]);
  108.         echo "
  109. ";
  110.         
  111.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  112.         
  113.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  114.     }
  115.     // line 21
  116.     public function block_content($context, array $blocks = [])
  117.     {
  118.         $macros $this->macros;
  119.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  120.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  123.         // line 22
  124.         echo "    <div class=\"col-md-10 mx-md-auto col-lg-9 col-xl-8 col-xxl-7 col-xxxl-6\">
  125.         ";
  126.         // line 23
  127.         echo twig_call_macro($macros["headers"], "macro_default", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.reset_password"), ""$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.set_a_new_password_for_your_account")], 23$context$this->getSourceContext());
  128.         echo "
  129.         ";
  130.         // line 25
  131.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.request_password_reset_token.after_content_header");
  132.         echo "
  133.         <div class=\"card\">
  134.             <div class=\"card-body\">
  135.                 ";
  136.         // line 28
  137.         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_request_password_reset_token"), "attr" => ["class" => "loadable""novalidate" => "novalidate"]]);
  138.         echo "
  139.                 ";
  140.         // line 29
  141.         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.'29$this->source); })()), "email", [], "any"falsefalsefalse29), 'row'$this->env->getFunction('sylius_test_form_attribute')->getCallable()("reset-email"));
  142.         echo "
  143.                 ";
  144.         // line 31
  145.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.request_password_reset_token.form", ["form" => (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'31$this->source); })())]);
  146.         echo "
  147.                 ";
  148.         // line 33
  149.         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.'33$this->source); })()), "_token", [], "any"falsefalsefalse33), 'row');
  150.         echo "
  151.                 <button type=\"submit\" class=\"btn btn-primary\" ";
  152.         // line 34
  153.         echo $this->env->getFunction('sylius_test_html_attribute')->getCallable()("request-password-reset-button");
  154.         echo " aria-label=\"";
  155.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.reset"), "html"nulltrue);
  156.         echo "\">
  157.                     ";
  158.         // line 35
  159.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.reset"), "html"nulltrue);
  160.         echo "
  161.                 </button>
  162.                 ";
  163.         // line 37
  164.         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.'37$this->source); })()), 'form_end', ["render_rest" => false]);
  165.         echo "
  166.             </div>
  167.         </div>
  168.     </div>
  169. ";
  170.         
  171.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  172.         
  173.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  174.     }
  175.     public function getTemplateName()
  176.     {
  177.         return "@SyliusShop/Account/requestPasswordReset.html.twig";
  178.     }
  179.     public function isTraitable()
  180.     {
  181.         return false;
  182.     }
  183.     public function getDebugInfo()
  184.     {
  185.         return array (  196 => 37,  191 => 35,  185 => 34,  181 => 33,  176 => 31,  171 => 29,  167 => 28,  161 => 25,  156 => 23,  153 => 22,  143 => 21,  130 => 18,  120 => 17,  108 => 14,  103 => 13,  93 => 12,  81 => 9,  76 => 8,  66 => 7,  55 => 1,  53 => 5,  51 => 3,  38 => 1,);
  186.     }
  187.     public function getSourceContext()
  188.     {
  189.         return new Source("{% extends '@SyliusShop/layout.html.twig' %}
  190. {% form_theme form '@SyliusShop/Form/theme.html.twig' %}
  191. {% import '@SyliusShop/Common/Macro/headers.html.twig' as headers %}
  192. {% block stylesheets %}
  193.     {{ parent() }}
  194.     {{ encore_entry_link_tags('shop-app', null, 'bootstrapTheme') }}
  195. {% endblock %}
  196. {% block javascripts %}
  197.     {{ parent() }}
  198.     {{ encore_entry_script_tags('shop-app', null, 'bootstrapTheme') }}
  199. {% endblock %}
  200. {% block title %}
  201.     {{ sylius_template_event('dedi_sylius_seo_plugin.title', { resource: product ?? sylius.channel, title: 'sylius.ui.reset_password'|trans }) }}
  202. {% endblock %}
  203. {% block content %}
  204.     <div class=\"col-md-10 mx-md-auto col-lg-9 col-xl-8 col-xxl-7 col-xxxl-6\">
  205.         {{ headers.default('sylius.ui.reset_password'|trans, '', 'sylius.ui.set_a_new_password_for_your_account'|trans) }}
  206.         {{ sylius_template_event('sylius.shop.request_password_reset_token.after_content_header') }}
  207.         <div class=\"card\">
  208.             <div class=\"card-body\">
  209.                 {{ form_start(form, {'action': path('sylius_shop_request_password_reset_token'), 'attr': {'class': 'loadable', 'novalidate': 'novalidate'}}) }}
  210.                 {{ form_row(form.email, sylius_test_form_attribute('reset-email')) }}
  211.                 {{ sylius_template_event('sylius.shop.request_password_reset_token.form', {'form': form}) }}
  212.                 {{ form_row(form._token) }}
  213.                 <button type=\"submit\" class=\"btn btn-primary\" {{ sylius_test_html_attribute('request-password-reset-button') }} aria-label=\"{{ 'sylius.ui.reset'|trans }}\">
  214.                     {{ 'sylius.ui.reset'|trans }}
  215.                 </button>
  216.                 {{ form_end(form, {'render_rest': false}) }}
  217.             </div>
  218.         </div>
  219.     </div>
  220. {% endblock %}
  221. ""@SyliusShop/Account/requestPasswordReset.html.twig""/var/www/sudekusa-shop-test/themes/BootstrapChildTheme/SyliusShopBundle/views/Account/requestPasswordReset.html.twig");
  222.     }
  223. }