<?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_287e2f47968c68081ea3d7fa80c10a05 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 11
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 13
$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.', 13, $this->source); })()), [0 => "Form/form_div_layout.twig"], true);
// line 11
$this->parent = $this->loadTemplate("default_frame.twig", "Forgot/index.twig", 11);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 15
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 16
echo "<section class=\"p-lower-mv\">
<div class=\"inner\">
<h2 class=\"p-lower-mv-title\"><span>パスワードの再発行</span></h2>
<div class=\"under bread_wrap\">
<ol itemscope itemtype=\"https://schema.org/BreadcrumbList\">
<li itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
<a itemprop=\"item\" href=\"";
// line 22
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\">
<span class=\"freight-neo-pro\" itemprop=\"name\">TOP</span>
</a>
<meta itemprop=\"position\" content=\"1\" />
</li>
<li itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
<a itemprop=\"item\" href=\"";
// line 28
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
echo "\">
<span class=\"freight-neo-pro\" itemprop=\"name\">パスワードの再発行</span>
</a>
<meta itemprop=\"position\" content=\"2\" />
</li>
</ol>
</div>
<!-- /.bread_wrap -->
</div>
</section>
<section class=\"forgot\">
<div class=\"inner\">
<div class=\"forgot-form\">
<form name=\"form1\" id=\"form1\" method=\"post\" action=\"";
// line 42
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
echo "\">
";
// line 43
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.', 43, $this->source); })()), "_token", [], "any", false, false, true, 43), 43, $this->source), 'widget');
echo "
<p class=\"forgot-message\">";
// line 44
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご登録時のメールアドレスを入力して「次へ」ボタンをクリックしてください。"), "html", null, true);
echo "<br>";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("※パスワード再発行メールを送信します。<span class=ib>メールの内容をご確認の上、新しいパスワードを登録してください。</span>");
echo "</p>
<dl class=\"p-form-list\">
<dt>
";
// line 47
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.', 47, $this->source); })()), "login_email", [], "any", false, false, true, 47), 47, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "メールアドレス"]);
echo "
</dt>
<dd>
<div class=\"form-email";
// line 50
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($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.', 50, $this->source); })()), "login_email", [], "any", false, false, true, 50), 50, $this->source))) ? (" error") : (""));
echo "\">
";
// line 51
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.', 51, $this->source); })()), "login_email", [], "any", false, false, true, 51), 51, $this->source), 'widget', ["attr" => ["placeholder" => "sample@mail.com"]]);
echo "
";
// line 52
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.', 52, $this->source); })()), "login_email", [], "any", false, false, true, 52), 52, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<div class=\"p-button green form\">
<button type=\"submit\">";
// line 57
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("次へ"), "html", null, true);
echo "</button>
</div>
</form>
</div>
</div>
</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 ( 145 => 57, 137 => 52, 133 => 51, 129 => 50, 123 => 47, 115 => 44, 111 => 43, 107 => 42, 90 => 28, 81 => 22, 73 => 16, 63 => 15, 52 => 11, 50 => 13, 37 => 11,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% extends 'default_frame.twig' %}
{% form_theme form 'Form/form_div_layout.twig' %}
{% block main %}
<section class=\"p-lower-mv\">
<div class=\"inner\">
<h2 class=\"p-lower-mv-title\"><span>パスワードの再発行</span></h2>
<div class=\"under bread_wrap\">
<ol itemscope itemtype=\"https://schema.org/BreadcrumbList\">
<li itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
<a itemprop=\"item\" href=\"{{ url('homepage') }}\">
<span class=\"freight-neo-pro\" itemprop=\"name\">TOP</span>
</a>
<meta itemprop=\"position\" content=\"1\" />
</li>
<li itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
<a itemprop=\"item\" href=\"{{ url('forgot') }}\">
<span class=\"freight-neo-pro\" itemprop=\"name\">パスワードの再発行</span>
</a>
<meta itemprop=\"position\" content=\"2\" />
</li>
</ol>
</div>
<!-- /.bread_wrap -->
</div>
</section>
<section class=\"forgot\">
<div class=\"inner\">
<div class=\"forgot-form\">
<form name=\"form1\" id=\"form1\" method=\"post\" action=\"{{ url('forgot') }}\">
{{ form_widget(form._token) }}
<p class=\"forgot-message\">{{ 'ご登録時のメールアドレスを入力して「次へ」ボタンをクリックしてください。'|trans }}<br>{{ '※パスワード再発行メールを送信します。<span class=ib>メールの内容をご確認の上、新しいパスワードを登録してください。</span>'|trans|raw }}</p>
<dl class=\"p-form-list\">
<dt>
{{ form_label(form.login_email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"form-email{{ has_errors(form.login_email) ? ' error' }}\">
{{ form_widget(form.login_email, {'attr': {'placeholder' : 'sample@mail.com' }}) }}
{{ form_errors(form.login_email) }}
</div>
</dd>
</dl>
<div class=\"p-button green form\">
<button type=\"submit\">{{ '次へ'|trans }}</button>
</div>
</form>
</div>
</div>
</section>
{% endblock %}", "Forgot/index.twig", "/home/hirota-s.com/public_html/app/template/default/Forgot/index.twig");
}
public function checkSecurity()
{
static $tags = array("form_theme" => 13);
static $filters = array("escape" => 44, "trans" => 44, "raw" => 44);
static $functions = array("url" => 22, "form_widget" => 43, "form_label" => 47, "has_errors" => 50, "form_errors" => 52);
try {
$this->sandbox->checkSecurity(
['form_theme'],
['escape', 'trans', 'raw'],
['url', 'form_widget', 'form_label', 'has_errors', '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;
}
}
}