var/cache/dev/twig/67/673f0d8bb45aa7b5ce975a5a60950fc8d8a88d385aa203883696ed5cbefebaac.php line 85

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_17a053fc53563a7b5237938d03225fb96f6bcfa7b3dee068ec59a78a9c6c824f 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/Account/layout.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Account/requestPasswordReset.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Account/requestPasswordReset.html.twig"));
  39.         // line 5
  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.'5$this->source); })()), [=> "@SyliusShop/Form/theme.html.twig"], true);
  41.         // line 7
  42.         $macros["headers"] = $this->macros["headers"] = $this->loadTemplate("@SyliusShop/Common/Macro/headers.html.twig""@SyliusShop/Account/requestPasswordReset.html.twig"7)->unwrap();
  43.         // line 1
  44.         $this->parent $this->loadTemplate("@SyliusShop/Account/layout.html.twig""@SyliusShop/Account/requestPasswordReset.html.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  48.         
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  50.     }
  51.     // line 3
  52.     public function block_title($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  59.         echo " ";
  60.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.reset_password"), "html"nulltrue);
  61.         echo " | Roviniete.ro ";
  62.         
  63.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  64.         
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  66.     }
  67.     // line 9
  68.     public function block_content($context, array $blocks = [])
  69.     {
  70.         $macros $this->macros;
  71.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  73.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  75.         // line 10
  76.         echo "    <div>
  77.         ";
  78.         // line 11
  79.         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")], 11$context$this->getSourceContext());
  80.         echo "
  81.         ";
  82.         // line 13
  83.         echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.request_password_reset_token.after_content_header"]);
  84.         echo "
  85.         <div>
  86.             ";
  87.         // line 15
  88.         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.'15$this->source); })()), 'form_start', ["action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_request_password_reset_token"), "attr" => ["class" => "loadable""novalidate" => "novalidate"]]);
  89.         echo "
  90.             ";
  91.         // line 16
  92.         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.'16$this->source); })()), "email", [], "any"falsefalsefalse16), 'row');
  93.         echo "
  94.             ";
  95.         // line 18
  96.         echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["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.'18$this->source); })())]]);
  97.         echo "
  98.             ";
  99.         // line 20
  100.         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.'20$this->source); })()), "_token", [], "any"falsefalsefalse20), 'row');
  101.         echo "
  102.             <button type=\"submit\" class=\"btn btn-primary\">";
  103.         // line 21
  104.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.reset"), "html"nulltrue);
  105.         echo "</button>
  106.             ";
  107.         // line 22
  108.         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.'22$this->source); })()), 'form_end', ["render_rest" => false]);
  109.         echo "
  110.         </div>
  111.     </div>
  112. ";
  113.         
  114.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  115.         
  116.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  117.     }
  118.     public function getTemplateName()
  119.     {
  120.         return "@SyliusShop/Account/requestPasswordReset.html.twig";
  121.     }
  122.     public function isTraitable()
  123.     {
  124.         return false;
  125.     }
  126.     public function getDebugInfo()
  127.     {
  128.         return array (  130 => 22,  126 => 21,  122 => 20,  117 => 18,  112 => 16,  108 => 15,  103 => 13,  98 => 11,  95 => 10,  85 => 9,  64 => 3,  53 => 1,  51 => 7,  49 => 5,  36 => 1,);
  129.     }
  130.     public function getSourceContext()
  131.     {
  132.         return new Source("{% extends '@SyliusShop/Account/layout.html.twig' %}
  133. {% block title %} {{ 'app.ui.reset_password'|trans }} | Roviniete.ro {% endblock %}
  134. {% form_theme form '@SyliusShop/Form/theme.html.twig' %}
  135. {% import '@SyliusShop/Common/Macro/headers.html.twig' as headers %}
  136. {% block content %}
  137.     <div>
  138.         {{ headers.default('sylius.ui.reset_password'|trans, '', 'sylius.ui.set_a_new_password_for_your_account'|trans) }}
  139.         {{ sonata_block_render_event('sylius.shop.request_password_reset_token.after_content_header') }}
  140.         <div>
  141.             {{ form_start(form, {'action': path('sylius_shop_request_password_reset_token'), 'attr': {'class': 'loadable', 'novalidate': 'novalidate'}}) }}
  142.             {{ form_row(form.email) }}
  143.             {{ sonata_block_render_event('sylius.shop.request_password_reset_token.form', {'form': form}) }}
  144.             {{ form_row(form._token) }}
  145.             <button type=\"submit\" class=\"btn btn-primary\">{{ 'sylius.ui.reset'|trans }}</button>
  146.             {{ form_end(form, {'render_rest': false}) }}
  147.         </div>
  148.     </div>
  149. {% endblock %}
  150. ""@SyliusShop/Account/requestPasswordReset.html.twig""/vhosts/newrca.roviniete.ro/themes/BootstrapExtendTheme/SyliusShopBundle/views/Account/requestPasswordReset.html.twig");
  151.     }
  152. }