var/cache/dev/twig/1a/1a0d96e76f8db94c63ecc2488f21aa3e.php line 58

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. /* Forgot/index.twig */
  14. class __TwigTemplate_ddddd93dd117e17c7fdbf4466c101e93 extends \Eccube\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.             'stylesheet' => [$this'block_stylesheet'],
  24.             'main' => [$this'block_main'],
  25.         ];
  26.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "default_frame.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""Forgot/index.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""Forgot/index.twig"));
  41.         // line 3
  42.         $context["body_class"] = "forgot_page";
  43.         // line 5
  44.         $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); })()), [=> "Form/form_div_layout.twig"], true);
  45.         // line 7
  46.         $context["breadcrumbs"] = [=> ["name" => "マイページ""route" => "mypage"], => ["name" => "パスワードの再発行"]];
  47.         // line 1
  48.         $this->parent $this->loadTemplate("default_frame.twig""Forgot/index.twig"1);
  49.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  50.         
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  52.         
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  54.     }
  55.     // line 9
  56.     public function block_stylesheet($context, array $blocks = [])
  57.     {
  58.         $macros $this->macros;
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  63.         // line 10
  64.         echo "\t<style>
  65. \t\t#login_email {
  66. \t\t\tpadding: 0.75rem 1rem;
  67. \t\t\twidth: 100%;
  68. \t\t\theight: 100%;
  69. \t\t\tbackground-color: transparent;
  70. \t\t}
  71. \t</style>
  72. ";
  73.         
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  75.         
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  77.     }
  78.     // line 20
  79.     public function block_main($context, array $blocks = [])
  80.     {
  81.         $macros $this->macros;
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  85.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  86.         // line 21
  87.         echo "\t<section class=\"px-6 pb-10 pt-[7.5rem] md:pt-20 md:pb-1 text-black\">
  88. \t\t<div class=\"mx-auto w-full max-w-[63rem]\">
  89. \t\t\t<h1 class=\"flex items-start gap-4 md:gap-2\">
  90. \t\t\t\t<span class=\"block h-[7.5rem] w-0.5 bg-gradient-to-b from-[#ADAAA6] md:h-16 md:w-px\"></span>
  91. \t\t\t\t<p class=\"text-[2rem] font-light leading-normal tracking-widest md:text-xl\">
  92. \t\t\t\t\t";
  93.         // line 26
  94.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.forgot.title"), "html"nulltrue);
  95.         echo "</p>
  96. \t\t\t</h1>
  97. \t\t</div>
  98. \t</section>
  99. \t  ";
  100.         // line 30
  101.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/breadcrumb.twig");
  102.         echo "
  103. \t<section class=\"md:pt-6 px-6 pb-[7.5rem] md:pb-20 text-black\">
  104. \t\t<div class=\"mx-auto w-full max-w-[37rem]\">
  105. \t\t\t<p class=\"text-sm leading-loose\">
  106. \t\t\t\tこちらのページから、パスワード再発行手続きができます。<br/>ご登録頂いたメールアドレスを入力して「再発行」ボタンを押してください。ご入力いただいたアドレスにメールが届きますので、そちらから手続きを行ってください。
  107. \t\t\t</p>
  108. \t\t\t<form method=\"post\" action=\"";
  109.         // line 36
  110.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
  111.         echo "\">
  112. \t\t\t\t";
  113.         // line 37
  114.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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.'37$this->source); })()), "_token", [], "any"falsefalsetrue37), 37$this->source), 'widget');
  115.         echo "
  116. \t\t\t\t<dl class=\"mt-10\">
  117. \t\t\t\t\t<dt class=\"text-sm font-medium leading-normal\">
  118. \t\t\t\t\t\tメールアドレス
  119. \t\t\t\t\t</dt>
  120. \t\t\t\t\t<dd class=\"mt-2 w-full rounded-[0.18rem] border border-gray bg-white text-sm";
  121.         // line 42
  122.         if ($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.'42$this->source); })()), "login_email", [], "any"falsefalsetrue42), 'errors')) {
  123.             echo " !border-red !bg-[#FDF1F0] ";
  124.         }
  125.         echo "\">";
  126.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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.'42$this->source); })()), "login_email", [], "any"falsefalsetrue42), 42$this->source), 'widget');
  127.         echo "</dd>
  128. \t\t\t\t\t";
  129.         // line 43
  130.         if ($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.'43$this->source); })()), "login_email", [], "any"falsefalsetrue43), 'errors')) {
  131.             // line 44
  132.             echo "\t\t\t\t\t\t<dd class=\"text-red text-xs flex items-center gap-1 mt-2\">
  133. \t\t\t\t\t\t\t<i class=\"fas fa-exclamation-triangle\"></i>
  134. \t\t\t\t\t\t\t";
  135.             // line 46
  136.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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.'46$this->source); })()), "login_email", [], "any"falsefalsetrue46), 46$this->source), 'errors');
  137.             echo "
  138. \t\t\t\t\t\t</dd>
  139. \t\t\t\t\t";
  140.         }
  141.         // line 49
  142.         echo "\t\t\t\t</dl>
  143. \t\t\t\t<button class=\"mx-auto mt-10 grid w-80 place-items-center rounded-[0.18rem] border border-red bg-red py-3 text-sm font-bold text-white md:w-full hover\" type=\"submit\">再発行メールを送る</button>
  144. \t\t\t</form>
  145. \t\t</div>
  146. \t</section>
  147. ";
  148.         
  149.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  150.         
  151.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  152.     }
  153.     public function getTemplateName()
  154.     {
  155.         return "Forgot/index.twig";
  156.     }
  157.     public function isTraitable()
  158.     {
  159.         return false;
  160.     }
  161.     public function getDebugInfo()
  162.     {
  163.         return array (  161 => 49,  155 => 46,  151 => 44,  149 => 43,  141 => 42,  133 => 37,  129 => 36,  120 => 30,  113 => 26,  106 => 21,  96 => 20,  78 => 10,  68 => 9,  57 => 1,  55 => 7,  53 => 5,  51 => 3,  38 => 1,);
  164.     }
  165.     public function getSourceContext()
  166.     {
  167.         return new Source("{% extends 'default_frame.twig' %}
  168. {% set body_class = 'forgot_page' %}
  169. {% form_theme form 'Form/form_div_layout.twig' %}
  170. {% set breadcrumbs = [{'name': 'マイページ', 'route': 'mypage'}, {'name': 'パスワードの再発行'}] %}
  171. {% block stylesheet %}
  172. \t<style>
  173. \t\t#login_email {
  174. \t\t\tpadding: 0.75rem 1rem;
  175. \t\t\twidth: 100%;
  176. \t\t\theight: 100%;
  177. \t\t\tbackground-color: transparent;
  178. \t\t}
  179. \t</style>
  180. {% endblock %}
  181. {% block main %}
  182. \t<section class=\"px-6 pb-10 pt-[7.5rem] md:pt-20 md:pb-1 text-black\">
  183. \t\t<div class=\"mx-auto w-full max-w-[63rem]\">
  184. \t\t\t<h1 class=\"flex items-start gap-4 md:gap-2\">
  185. \t\t\t\t<span class=\"block h-[7.5rem] w-0.5 bg-gradient-to-b from-[#ADAAA6] md:h-16 md:w-px\"></span>
  186. \t\t\t\t<p class=\"text-[2rem] font-light leading-normal tracking-widest md:text-xl\">
  187. \t\t\t\t\t{{ 'front.forgot.title'|trans }}</p>
  188. \t\t\t</h1>
  189. \t\t</div>
  190. \t</section>
  191. \t  {{ include('Block/breadcrumb.twig') }}
  192. \t<section class=\"md:pt-6 px-6 pb-[7.5rem] md:pb-20 text-black\">
  193. \t\t<div class=\"mx-auto w-full max-w-[37rem]\">
  194. \t\t\t<p class=\"text-sm leading-loose\">
  195. \t\t\t\tこちらのページから、パスワード再発行手続きができます。<br/>ご登録頂いたメールアドレスを入力して「再発行」ボタンを押してください。ご入力いただいたアドレスにメールが届きますので、そちらから手続きを行ってください。
  196. \t\t\t</p>
  197. \t\t\t<form method=\"post\" action=\"{{ url('forgot') }}\">
  198. \t\t\t\t{{ form_widget(form._token) }}
  199. \t\t\t\t<dl class=\"mt-10\">
  200. \t\t\t\t\t<dt class=\"text-sm font-medium leading-normal\">
  201. \t\t\t\t\t\tメールアドレス
  202. \t\t\t\t\t</dt>
  203. \t\t\t\t\t<dd class=\"mt-2 w-full rounded-[0.18rem] border border-gray bg-white text-sm{% if form_errors(form.login_email) %} !border-red !bg-[#FDF1F0] {% endif %}\">{{ form_widget(form.login_email) }}</dd>
  204. \t\t\t\t\t{% if form_errors(form.login_email) %}
  205. \t\t\t\t\t\t<dd class=\"text-red text-xs flex items-center gap-1 mt-2\">
  206. \t\t\t\t\t\t\t<i class=\"fas fa-exclamation-triangle\"></i>
  207. \t\t\t\t\t\t\t{{ form_errors(form.login_email) }}
  208. \t\t\t\t\t\t</dd>
  209. \t\t\t\t\t{% endif %}
  210. \t\t\t\t</dl>
  211. \t\t\t\t<button class=\"mx-auto mt-10 grid w-80 place-items-center rounded-[0.18rem] border border-red bg-red py-3 text-sm font-bold text-white md:w-full hover\" type=\"submit\">再発行メールを送る</button>
  212. \t\t\t</form>
  213. \t\t</div>
  214. \t</section>
  215. {% endblock %}
  216. ""Forgot/index.twig""/home/xs545372/itsukushi-store.com/public_html/stg.itsukushi-store.com/app/template/default/Forgot/index.twig");
  217.     }
  218.     
  219.     public function checkSecurity()
  220.     {
  221.         static $tags = array("set" => 3"form_theme" => 5"if" => 42);
  222.         static $filters = array("escape" => 26"trans" => 26);
  223.         static $functions = array("include" => 30"url" => 36"form_widget" => 37"form_errors" => 42);
  224.         try {
  225.             $this->sandbox->checkSecurity(
  226.                 ['set''form_theme''if'],
  227.                 ['escape''trans'],
  228.                 ['include''url''form_widget''form_errors']
  229.             );
  230.         } catch (SecurityError $e) {
  231.             $e->setSourceContext($this->source);
  232.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  233.                 $e->setTemplateLine($tags[$e->getTagName()]);
  234.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  235.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  236.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  237.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  238.             }
  239.             throw $e;
  240.         }
  241.     }
  242. }