var/cache/dev/twig/00/000ef67de4b2dc1ff3f9c036238fcfe05a198c04eec71d8a00bba76fbcc51091.php line 55

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_063d4929551881ea47332407890981c512f86603c7adb2a5571d90dce6917656 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/Account/requestPasswordReset.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/Account/requestPasswordReset.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 7
  43.         $macros["headers"] = $this->macros["headers"] = $this->loadTemplate("@SyliusShop/Common/Macro/headers.html.twig""@SyliusShop/Account/requestPasswordReset.html.twig"7)->unwrap();
  44.         // line 1
  45.         $this->parent $this->loadTemplate("@SyliusShop/layout.html.twig""@SyliusShop/Account/requestPasswordReset.html.twig"1);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 5
  53.     public function block_title($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  60.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.reset_password"), "html"nulltrue);
  61.         echo " | ";
  62.         $this->displayParentBlock("title"$context$blocks);
  63.         
  64.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  65.         
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  67.     }
  68.     // line 9
  69.     public function block_content($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  76.         // line 10
  77.         echo "<div class=\"commun-password  pt-0 pt-md-3 pb-3\"> 
  78.     <div class=\"max-container-2 px-xl-0\">
  79.          ";
  80.         // line 12
  81.         $this->displayBlock('breadcrumb'$context$blocks);
  82.         // line 19
  83.         echo 
  84.         <div class=\"py-2 py-md-3 px-0\"> 
  85.             <div class=\"text-center\">";
  86.         // line 21
  87.         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")], 21$context$this->getSourceContext());
  88.         echo "</div>
  89.             ";
  90.         // line 23
  91.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.request_password_reset_token.after_content_header");
  92.         echo "
  93.             <div class=\"row form-perso-content\">
  94.                 <div class=\"col-md-6 offset-md-3 col-12\">
  95.                     <div class=\"border p-3\">
  96.                         ";
  97.         // line 27
  98.         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.'27$this->source); })()), 'form_start', ["action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_request_password_reset_token"), "attr" => ["class" => "loadable""novalidate" => "novalidate"]]);
  99.         echo "
  100.                         ";
  101.         // line 28
  102.         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.'28$this->source); })()), "email", [], "any"falsefalsefalse28), 'row'$this->env->getFunction('sylius_test_form_attribute')->getCallable()("reset-email"));
  103.         echo "
  104.                         ";
  105.         // line 30
  106.         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.'30$this->source); })())]);
  107.         echo "
  108.                         ";
  109.         // line 32
  110.         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.'32$this->source); })()), "_token", [], "any"falsefalsefalse32), 'row');
  111.         echo "
  112.                         <div class=\"text-center pt-2\">
  113.                             <button type=\"submit\" class=\"btn-link transition-bgcolor minw-verybig border-0  font-seize py-3 bg-gradient-hover\" ";
  114.         // line 34
  115.         echo $this->env->getFunction('sylius_test_html_attribute')->getCallable()("request-password-reset-button");
  116.         echo ">
  117.                                 <span>";
  118.         // line 35
  119.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.reset"), "html"nulltrue);
  120.         echo "</span>
  121.                             </button>
  122.                         </div>
  123.                         ";
  124.         // line 38
  125.         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]);
  126.         echo "
  127.                     </div>
  128.                 </div>
  129.             </div>
  130.         </div>
  131.     </div>
  132. </div>
  133. ";
  134.         
  135.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  136.         
  137.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  138.     }
  139.     // line 12
  140.     public function block_breadcrumb($context, array $blocks = [])
  141.     {
  142.         $macros $this->macros;
  143.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  144.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  145.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  146.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  147.         echo "  
  148.             <nav>
  149.                 <ol class=\"breadcrumb m-0 ariane-box\">  
  150.                     <li class=\"breadcrumb-item\"><a href=\"";
  151.         // line 15
  152.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_homepage");
  153.         echo "\">";
  154.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.home"), "html"nulltrue);
  155.         echo "</a></li>
  156.                     <li class=\"breadcrumb-item\">";
  157.         // line 16
  158.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.reset_password"), "html"nulltrue);
  159.         echo "</li>
  160.                 </ol>
  161.             </nav>
  162.         ";
  163.         
  164.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  165.         
  166.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  167.     }
  168.     public function getTemplateName()
  169.     {
  170.         return "@SyliusShop/Account/requestPasswordReset.html.twig";
  171.     }
  172.     public function isTraitable()
  173.     {
  174.         return false;
  175.     }
  176.     public function getDebugInfo()
  177.     {
  178.         return array (  185 => 16,  179 => 15,  165 => 12,  147 => 38,  141 => 35,  137 => 34,  132 => 32,  127 => 30,  122 => 28,  118 => 27,  111 => 23,  106 => 21,  102 => 19,  100 => 12,  96 => 10,  86 => 9,  65 => 5,  54 => 1,  52 => 7,  50 => 3,  37 => 1,);
  179.     }
  180.     public function getSourceContext()
  181.     {
  182.         return new Source("{% extends '@SyliusShop/layout.html.twig' %}
  183. {% form_theme form '@SyliusShop/Form/theme.html.twig' %}
  184. {% block title %}{{ 'sylius.ui.reset_password'|trans }} | {{ parent() }}{% endblock %}
  185. {% import '@SyliusShop/Common/Macro/headers.html.twig' as headers %}
  186. {% block content %}
  187. <div class=\"commun-password  pt-0 pt-md-3 pb-3\"> 
  188.     <div class=\"max-container-2 px-xl-0\">
  189.          {% block breadcrumb %}  
  190.             <nav>
  191.                 <ol class=\"breadcrumb m-0 ariane-box\">  
  192.                     <li class=\"breadcrumb-item\"><a href=\"{{ path('sylius_shop_homepage') }}\">{{ 'sylius.ui.home'|trans }}</a></li>
  193.                     <li class=\"breadcrumb-item\">{{ 'sylius.ui.reset_password'|trans }}</li>
  194.                 </ol>
  195.             </nav>
  196.         {% endblock %} 
  197.         <div class=\"py-2 py-md-3 px-0\"> 
  198.             <div class=\"text-center\">{{ headers.default('sylius.ui.reset_password'|trans, '', 'sylius.ui.set_a_new_password_for_your_account'|trans) }}</div>
  199.             {{ sylius_template_event('sylius.shop.request_password_reset_token.after_content_header') }}
  200.             <div class=\"row form-perso-content\">
  201.                 <div class=\"col-md-6 offset-md-3 col-12\">
  202.                     <div class=\"border p-3\">
  203.                         {{ form_start(form, {'action': path('sylius_shop_request_password_reset_token'), 'attr': {'class': 'loadable', 'novalidate': 'novalidate'}}) }}
  204.                         {{ form_row(form.email, sylius_test_form_attribute('reset-email')) }}
  205.                         {{ sylius_template_event('sylius.shop.request_password_reset_token.form', {'form': form}) }}
  206.                         {{ form_row(form._token) }}
  207.                         <div class=\"text-center pt-2\">
  208.                             <button type=\"submit\" class=\"btn-link transition-bgcolor minw-verybig border-0  font-seize py-3 bg-gradient-hover\" {{ sylius_test_html_attribute('request-password-reset-button') }}>
  209.                                 <span>{{ 'sylius.ui.reset'|trans }}</span>
  210.                             </button>
  211.                         </div>
  212.                         {{ form_end(form, {'render_rest': false}) }}
  213.                     </div>
  214.                 </div>
  215.             </div>
  216.         </div>
  217.     </div>
  218. </div>
  219. {% endblock %}
  220. ""@SyliusShop/Account/requestPasswordReset.html.twig""/home/6nergiesboutique/www_preprod/themes/BootstrapTheme/templates/bundles/SyliusShopBundle/Account/requestPasswordReset.html.twig");
  221.     }
  222. }