var/cache/dev/twig/b9/b94956a4c6c4b03f7856a8b0f26450d89a121b66d9bfa0207add2adf8986d55d.php line 39

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_5502d1854cd14ccb479e5e699cc6eb50942ce151bf76b86ec69c93acf3f77e94 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/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 3
  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.'3$this->source); })()), [=> "@SyliusShop/Form/theme.html.twig"], true);
  41.         // line 1
  42.         $this->parent $this->loadTemplate("@SyliusShop/layout.html.twig""@SyliusShop/Account/requestPasswordReset.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  46.         
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  48.     }
  49.     // line 5
  50.     public function block_title($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  57.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.reset_password"), "html"nulltrue);
  58.         echo " | ";
  59.         $this->displayParentBlock("title"$context$blocks);
  60.         
  61.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  62.         
  63.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  64.     }
  65.     // line 7
  66.     public function block_content($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  71.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  73.         // line 8
  74.         echo "    <div class=\"ui two column centered stackable grid reset-password\">
  75.         <div class=\"column\">
  76.             <h1 class=\"page__title\">
  77.                 <span class=\"page__tagline\">
  78.                     ";
  79.         // line 12
  80.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.set_a_new_password_for_your_account"), "html"nulltrue);
  81.         echo "
  82.                 </span>
  83.                 ";
  84.         // line 14
  85.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.reset_password"), "html"nulltrue);
  86.         echo "
  87.             </h1>
  88.             ";
  89.         // line 16
  90.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.request_password_reset_token.after_content_header");
  91.         echo "
  92.             <div class=\"ui segment\">
  93.                 ";
  94.         // line 18
  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.'18$this->source); })()), 'form_start', ["action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_request_password_reset_token"), "attr" => ["class" => "ui large loadable form""novalidate" => "novalidate"]]);
  96.         echo "
  97.                 ";
  98.         // line 19
  99.         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.'19$this->source); })()), "email", [], "any"falsefalsefalse19), 'row'$this->env->getFunction('sylius_test_form_attribute')->getCallable()("reset-email"));
  100.         echo "
  101.                 ";
  102.         // line 21
  103.         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.'21$this->source); })())]);
  104.         echo "
  105.                 ";
  106.         // line 23
  107.         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.'23$this->source); })()), "_token", [], "any"falsefalsefalse23), 'row');
  108.         echo "
  109.                 <button type=\"submit\" class=\"button button--secondary\" ";
  110.         // line 24
  111.         echo $this->env->getFunction('sylius_test_html_attribute')->getCallable()("request-password-reset-button");
  112.         echo ">
  113.                     ";
  114.         // line 25
  115.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.reset"), "html"nulltrue);
  116.         echo "
  117.                 </button>
  118.                 ";
  119.         // line 27
  120.         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_end', ["render_rest" => false]);
  121.         echo "
  122.             </div>
  123.         </div>
  124.     </div>
  125. ";
  126.         
  127.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  128.         
  129.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  130.     }
  131.     public function getTemplateName()
  132.     {
  133.         return "@SyliusShop/Account/requestPasswordReset.html.twig";
  134.     }
  135.     public function isTraitable()
  136.     {
  137.         return false;
  138.     }
  139.     public function getDebugInfo()
  140.     {
  141.         return array (  141 => 27,  136 => 25,  132 => 24,  128 => 23,  123 => 21,  118 => 19,  114 => 18,  109 => 16,  104 => 14,  99 => 12,  93 => 8,  83 => 7,  62 => 5,  51 => 1,  49 => 3,  36 => 1,);
  142.     }
  143.     public function getSourceContext()
  144.     {
  145.         return new Source("{% extends '@SyliusShop/layout.html.twig' %}
  146. {% form_theme form '@SyliusShop/Form/theme.html.twig' %}
  147. {% block title %}{{ 'sylius.ui.reset_password'|trans }} | {{ parent() }}{% endblock %}
  148. {% block content %}
  149.     <div class=\"ui two column centered stackable grid reset-password\">
  150.         <div class=\"column\">
  151.             <h1 class=\"page__title\">
  152.                 <span class=\"page__tagline\">
  153.                     {{ 'sylius.ui.set_a_new_password_for_your_account'|trans }}
  154.                 </span>
  155.                 {{ 'sylius.ui.reset_password'|trans }}
  156.             </h1>
  157.             {{ sylius_template_event('sylius.shop.request_password_reset_token.after_content_header') }}
  158.             <div class=\"ui segment\">
  159.                 {{ form_start(form, {'action': path('sylius_shop_request_password_reset_token'), 'attr': {'class': 'ui large loadable form', 'novalidate': 'novalidate'}}) }}
  160.                 {{ form_row(form.email, sylius_test_form_attribute('reset-email')) }}
  161.                 {{ sylius_template_event('sylius.shop.request_password_reset_token.form', {'form': form}) }}
  162.                 {{ form_row(form._token) }}
  163.                 <button type=\"submit\" class=\"button button--secondary\" {{ sylius_test_html_attribute('request-password-reset-button') }}>
  164.                     {{ 'sylius.ui.reset'|trans }}
  165.                 </button>
  166.                 {{ form_end(form, {'render_rest': false}) }}
  167.             </div>
  168.         </div>
  169.     </div>
  170. {% endblock %}
  171. ""@SyliusShop/Account/requestPasswordReset.html.twig""/home/mons/site/www/templates/bundles/SyliusShopBundle/Account/requestPasswordReset.html.twig");
  172.     }
  173. }