var/cache/dev/twig/5c/5c5d99aae4e2911f91bec0d934fb18edf31ede33e934720690d2592f345fac08.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_c63b8f3c9cfdce62cc58f5c057056ad8fdb212555f5609b94f764dd8390c1ba6 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-logging  bg-perso-point pt-0 pt-md-3 forgotten-pswd\">
  78.     <div class=\"max-container-3 p-xl-0 px-2\">
  79.          ";
  80.         // line 12
  81.         $this->displayBlock('breadcrumb'$context$blocks);
  82.         // line 20
  83.         echo "        <div class=\"py-2 py-md-3 px-0\">
  84.             <div class=\"text-center\">";
  85.         // line 21
  86.         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());
  87.         echo "</div>
  88.             <div class=\"py-md-4 px-md-0 p-2 mb-md-5 my-3\" >
  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=\"card table-perso \">
  96.                             <div class=\"card-body  form-perso-content\">
  97.                                 ";
  98.         // line 28
  99.         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"]]);
  100.         echo "
  101.                                 
  102.                                 ";
  103.         // line 30
  104.         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.'30$this->source); })()), "email", [], "any"falsefalsefalse30), 'row'$this->env->getFunction('sylius_test_form_attribute')->getCallable()("reset-email"));
  105.         echo "
  106.                                 ";
  107.         // line 32
  108.         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.'32$this->source); })())]);
  109.         echo "
  110.                                 ";
  111.         // line 34
  112.         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.'34$this->source); })()), "_token", [], "any"falsefalsefalse34), 'row');
  113.         echo "
  114.                                 <div class=\"text-center \">
  115.                                     <button type=\"submit\" class=\"btn-link transition-bgcolor bg-purple-site minw-verybig border-0  font-seize py-3\" ";
  116.         // line 36
  117.         echo $this->env->getFunction('sylius_test_html_attribute')->getCallable()("request-password-reset-button");
  118.         echo ">
  119.                                         ";
  120.         // line 37
  121.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.reset"), "html"nulltrue);
  122.         echo "
  123.                                     </button>
  124.                                 </div>
  125.                                 ";
  126.         // line 40
  127.         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.'40$this->source); })()), 'form_end', ["render_rest" => false]);
  128.         echo "
  129.                             </div>
  130.                         </div>
  131.                     </div>
  132.                 </div>
  133.             </div>
  134.         </div>
  135.     </div>
  136. </div>
  137. ";
  138.         
  139.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  140.         
  141.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  142.     }
  143.     // line 12
  144.     public function block_breadcrumb($context, array $blocks = [])
  145.     {
  146.         $macros $this->macros;
  147.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  148.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  149.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  150.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  151.         // line 13
  152.         echo "            <nav>
  153.                 <ol class=\"breadcrumb m-0 ariane-box\">
  154.                     <li class=\"breadcrumb-item\"><a href=\"";
  155.         // line 15
  156.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_homepage");
  157.         echo "\">";
  158.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.home"), "html"nulltrue);
  159.         echo "</a></li>
  160.                     <li class=\"breadcrumb-item\">";
  161.         // line 16
  162.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.reset_password"), "html"nulltrue);
  163.         echo "</li>
  164.                 </ol>
  165.             </nav>
  166.         ";
  167.         
  168.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  169.         
  170.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  171.     }
  172.     public function getTemplateName()
  173.     {
  174.         return "@SyliusShop/Account/requestPasswordReset.html.twig";
  175.     }
  176.     public function isTraitable()
  177.     {
  178.         return false;
  179.     }
  180.     public function getDebugInfo()
  181.     {
  182.         return array (  188 => 16,  182 => 15,  178 => 13,  168 => 12,  148 => 40,  142 => 37,  138 => 36,  133 => 34,  128 => 32,  123 => 30,  118 => 28,  110 => 23,  105 => 21,  102 => 20,  100 => 12,  96 => 10,  86 => 9,  65 => 5,  54 => 1,  52 => 7,  50 => 3,  37 => 1,);
  183.     }
  184.     public function getSourceContext()
  185.     {
  186.         return new Source("{% extends '@SyliusShop/layout.html.twig' %}
  187. {% form_theme form '@SyliusShop/Form/theme.html.twig' %}
  188. {% block title %}{{ 'sylius.ui.reset_password'|trans }} | {{ parent() }}{% endblock %}
  189. {% import '@SyliusShop/Common/Macro/headers.html.twig' as headers %}
  190. {% block content %}
  191. <div class=\"commun-logging  bg-perso-point pt-0 pt-md-3 forgotten-pswd\">
  192.     <div class=\"max-container-3 p-xl-0 px-2\">
  193.          {% block breadcrumb %}
  194.             <nav>
  195.                 <ol class=\"breadcrumb m-0 ariane-box\">
  196.                     <li class=\"breadcrumb-item\"><a href=\"{{ path('sylius_shop_homepage') }}\">{{ 'sylius.ui.home'|trans }}</a></li>
  197.                     <li class=\"breadcrumb-item\">{{ 'sylius.ui.reset_password'|trans }}</li>
  198.                 </ol>
  199.             </nav>
  200.         {% endblock %}
  201.         <div class=\"py-2 py-md-3 px-0\">
  202.             <div class=\"text-center\">{{ headers.default('sylius.ui.reset_password'|trans, '', 'sylius.ui.set_a_new_password_for_your_account'|trans) }}</div>
  203.             <div class=\"py-md-4 px-md-0 p-2 mb-md-5 my-3\" >
  204.                 {{ sylius_template_event('sylius.shop.request_password_reset_token.after_content_header') }}
  205.                 <div class=\"row form-perso-content\">
  206.                     <div class=\"col-md-6 offset-md-3 col-12\">
  207.                         <div class=\"card table-perso \">
  208.                             <div class=\"card-body  form-perso-content\">
  209.                                 {{ form_start(form, {'action': path('sylius_shop_request_password_reset_token'), 'attr': {'class': 'loadable', 'novalidate': 'novalidate'}}) }}
  210.                                 
  211.                                 {{ form_row(form.email, sylius_test_form_attribute('reset-email')) }}
  212.                                 {{ sylius_template_event('sylius.shop.request_password_reset_token.form', {'form': form}) }}
  213.                                 {{ form_row(form._token) }}
  214.                                 <div class=\"text-center \">
  215.                                     <button type=\"submit\" class=\"btn-link transition-bgcolor bg-purple-site minw-verybig border-0  font-seize py-3\" {{ sylius_test_html_attribute('request-password-reset-button') }}>
  216.                                         {{ 'sylius.ui.reset'|trans }}
  217.                                     </button>
  218.                                 </div>
  219.                                 {{ form_end(form, {'render_rest': false}) }}
  220.                             </div>
  221.                         </div>
  222.                     </div>
  223.                 </div>
  224.             </div>
  225.         </div>
  226.     </div>
  227. </div>
  228. {% endblock %}
  229. ""@SyliusShop/Account/requestPasswordReset.html.twig""/home/chouettemauve/preprod/sylius/themes/BootstrapTheme/templates/bundles/SyliusShopBundle/Account/requestPasswordReset.html.twig");
  230.     }
  231. }