<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Forgot/index.twig */
class __TwigTemplate_ddddd93dd117e17c7fdbf4466c101e93 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheet' => [$this, 'block_stylesheet'],
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Forgot/index.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Forgot/index.twig"));
// line 3
$context["body_class"] = "forgot_page";
// line 5
$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); })()), [0 => "Form/form_div_layout.twig"], true);
// line 7
$context["breadcrumbs"] = [0 => ["name" => "マイページ", "route" => "mypage"], 1 => ["name" => "パスワードの再発行"]];
// line 1
$this->parent = $this->loadTemplate("default_frame.twig", "Forgot/index.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 9
public function block_stylesheet($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
// line 10
echo "\t<style>
\t\t#login_email {
\t\t\tpadding: 0.75rem 1rem;
\t\t\twidth: 100%;
\t\t\theight: 100%;
\t\t\tbackground-color: transparent;
\t\t}
\t</style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 20
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 21
echo "\t<section class=\"px-6 pb-10 pt-[7.5rem] md:pt-20 md:pb-1 text-black\">
\t\t<div class=\"mx-auto w-full max-w-[63rem]\">
\t\t\t<h1 class=\"flex items-start gap-4 md:gap-2\">
\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>
\t\t\t\t<p class=\"text-[2rem] font-light leading-normal tracking-widest md:text-xl\">
\t\t\t\t\t";
// line 26
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.forgot.title"), "html", null, true);
echo "</p>
\t\t\t</h1>
\t\t</div>
\t</section>
\t ";
// line 30
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/breadcrumb.twig");
echo "
\t<section class=\"md:pt-6 px-6 pb-[7.5rem] md:pb-20 text-black\">
\t\t<div class=\"mx-auto w-full max-w-[37rem]\">
\t\t\t<p class=\"text-sm leading-loose\">
\t\t\t\tこちらのページから、パスワード再発行手続きができます。<br/>ご登録頂いたメールアドレスを入力して「再発行」ボタンを押してください。ご入力いただいたアドレスにメールが届きますので、そちらから手続きを行ってください。
\t\t\t</p>
\t\t\t<form method=\"post\" action=\"";
// line 36
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
echo "\">
\t\t\t\t";
// line 37
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", false, false, true, 37), 37, $this->source), 'widget');
echo "
\t\t\t\t<dl class=\"mt-10\">
\t\t\t\t\t<dt class=\"text-sm font-medium leading-normal\">
\t\t\t\t\t\tメールアドレス
\t\t\t\t\t</dt>
\t\t\t\t\t<dd class=\"mt-2 w-full rounded-[0.18rem] border border-gray bg-white text-sm";
// line 42
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", false, false, true, 42), 'errors')) {
echo " !border-red !bg-[#FDF1F0] ";
}
echo "\">";
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", false, false, true, 42), 42, $this->source), 'widget');
echo "</dd>
\t\t\t\t\t";
// line 43
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", false, false, true, 43), 'errors')) {
// line 44
echo "\t\t\t\t\t\t<dd class=\"text-red text-xs flex items-center gap-1 mt-2\">
\t\t\t\t\t\t\t<i class=\"fas fa-exclamation-triangle\"></i>
\t\t\t\t\t\t\t";
// line 46
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", false, false, true, 46), 46, $this->source), 'errors');
echo "
\t\t\t\t\t\t</dd>
\t\t\t\t\t";
}
// line 49
echo "\t\t\t\t</dl>
\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>
\t\t\t</form>
\t\t</div>
\t</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Forgot/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'default_frame.twig' %}
{% set body_class = 'forgot_page' %}
{% form_theme form 'Form/form_div_layout.twig' %}
{% set breadcrumbs = [{'name': 'マイページ', 'route': 'mypage'}, {'name': 'パスワードの再発行'}] %}
{% block stylesheet %}
\t<style>
\t\t#login_email {
\t\t\tpadding: 0.75rem 1rem;
\t\t\twidth: 100%;
\t\t\theight: 100%;
\t\t\tbackground-color: transparent;
\t\t}
\t</style>
{% endblock %}
{% block main %}
\t<section class=\"px-6 pb-10 pt-[7.5rem] md:pt-20 md:pb-1 text-black\">
\t\t<div class=\"mx-auto w-full max-w-[63rem]\">
\t\t\t<h1 class=\"flex items-start gap-4 md:gap-2\">
\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>
\t\t\t\t<p class=\"text-[2rem] font-light leading-normal tracking-widest md:text-xl\">
\t\t\t\t\t{{ 'front.forgot.title'|trans }}</p>
\t\t\t</h1>
\t\t</div>
\t</section>
\t {{ include('Block/breadcrumb.twig') }}
\t<section class=\"md:pt-6 px-6 pb-[7.5rem] md:pb-20 text-black\">
\t\t<div class=\"mx-auto w-full max-w-[37rem]\">
\t\t\t<p class=\"text-sm leading-loose\">
\t\t\t\tこちらのページから、パスワード再発行手続きができます。<br/>ご登録頂いたメールアドレスを入力して「再発行」ボタンを押してください。ご入力いただいたアドレスにメールが届きますので、そちらから手続きを行ってください。
\t\t\t</p>
\t\t\t<form method=\"post\" action=\"{{ url('forgot') }}\">
\t\t\t\t{{ form_widget(form._token) }}
\t\t\t\t<dl class=\"mt-10\">
\t\t\t\t\t<dt class=\"text-sm font-medium leading-normal\">
\t\t\t\t\t\tメールアドレス
\t\t\t\t\t</dt>
\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>
\t\t\t\t\t{% if form_errors(form.login_email) %}
\t\t\t\t\t\t<dd class=\"text-red text-xs flex items-center gap-1 mt-2\">
\t\t\t\t\t\t\t<i class=\"fas fa-exclamation-triangle\"></i>
\t\t\t\t\t\t\t{{ form_errors(form.login_email) }}
\t\t\t\t\t\t</dd>
\t\t\t\t\t{% endif %}
\t\t\t\t</dl>
\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>
\t\t\t</form>
\t\t</div>
\t</section>
{% endblock %}
", "Forgot/index.twig", "/home/xs545372/itsukushi-store.com/public_html/stg.itsukushi-store.com/app/template/default/Forgot/index.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 3, "form_theme" => 5, "if" => 42);
static $filters = array("escape" => 26, "trans" => 26);
static $functions = array("include" => 30, "url" => 36, "form_widget" => 37, "form_errors" => 42);
try {
$this->sandbox->checkSecurity(
['set', 'form_theme', 'if'],
['escape', 'trans'],
['include', 'url', 'form_widget', 'form_errors']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}