<?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;
/* Mypage/login.twig */
class __TwigTemplate_b3a992c721e51e88a2a2df591aee59a3 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'],
];
}
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", "Mypage/login.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Mypage/login.twig"));
// line 13
$context["body_class"] = "mypage";
// line 15
$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.', 15, $this->source); })()), [0 => "Form/form_div_layout.twig"], true);
// line 11
$this->parent = $this->loadTemplate("default_frame.twig", "Mypage/login.twig", 11);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 17
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 18
echo " <section class=\"p-mypage\">
<div class=\"p-mypage__heading\">
<h1 class=\"c-page-title\">
<span class=\"c-page-title__text\">";
// line 22
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログイン"), "html", null, true);
echo "</span>
</h1>
</div>
<div class=\"p-mypage__contents\">
<div class=\"p-mypage__login\">
<form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"";
// line 29
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_login");
echo "\">
";
// line 30
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 30, $this->source); })()), "session", [], "any", false, false, false, 30), "flashBag", [], "any", false, false, false, 30), "has", [0 => "eccube.login.target.path"], "method", false, false, false, 30)) {
// line 31
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 31, $this->source); })()), "session", [], "any", false, false, false, 31), "flashBag", [], "any", false, false, false, 31), "peek", [0 => "eccube.login.target.path"], "method", false, false, false, 31));
foreach ($context['_seq'] as $context["_key"] => $context["targetPath"]) {
// line 32
echo " <input type=\"hidden\" name=\"_target_path\" value=\"";
echo twig_escape_filter($this->env, $context["targetPath"], "html", null, true);
echo "\" />
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['targetPath'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 34
echo " ";
}
// line 35
echo " <div class=\"c-form is-input\">
<div class=\"c-form__box\">
<div class=\"c-form__box-item\">
<div class=\"p-mypage__login-user\">
<i class=\"p-mypage__login-user-icon material-icons\">account_circle</i>
</div>
</div>
</div>
<div class=\"c-form__box\">
<div class=\"c-form__box-item\">
<div class=\"c-text-field mdc-text-field mdc-text-field--outlined\">
";
// line 46
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.', 46, $this->source); })()), "login_email", [], "any", false, false, false, 46), 'widget', ["attr" => ["class" => "c-text-field__input mdc-text-field__input", "autofocus" => true]]);
echo "
<div class=\"mdc-notched-outline\">
<div class=\"mdc-notched-outline__leading\"></div>
<div class=\"mdc-notched-outline__notch\">
<label class=\"c-floating-label mdc-floating-label\" for=\"login_email\">メールアドレス</label>
</div>
<div class=\"mdc-notched-outline__trailing\"></div>
</div>
</div>
</div>
</div>
<div class=\"c-form__box\">
<div class=\"c-form__box-item\">
<div class=\"c-text-field mdc-text-field mdc-text-field--outlined\">
";
// line 60
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.', 60, $this->source); })()), "login_pass", [], "any", false, false, false, 60), 'widget', ["attr" => ["class" => "c-text-field__input mdc-text-field__input"]]);
echo "
<div class=\"mdc-notched-outline\">
<div class=\"mdc-notched-outline__leading\"></div>
<div class=\"mdc-notched-outline__notch\">
<label class=\"c-floating-label mdc-floating-label\" for=\"login_pass\">パスワード</label>
</div>
<div class=\"mdc-notched-outline__trailing\"></div>
</div>
</div>
</div>
</div>
";
// line 71
if ((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 71, $this->source); })())) {
// line 72
echo " <p class=\"c-form__error-text\">";
echo twig_nl2br(twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 72, $this->source); })()), "messageKey", [], "any", false, false, false, 72), twig_get_attribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 72, $this->source); })()), "messageData", [], "any", false, false, false, 72), "validators"), "html", null, true));
echo "</p>
";
}
// line 74
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo", $context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.', 74, $this->source); })()), "option_remember_me", [], "any", false, false, false, 74)) {
// line 75
echo " <div class=\"c-form__box\">
<div class=\"c-form__box-item\">
";
// line 77
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
// line 78
echo " <input type=\"hidden\" name=\"login_memory\" value=\"1\">
";
} else {
// line 80
echo " ";
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.', 80, $this->source); })()), "login_memory", [], "any", false, false, false, 80), 'widget', ["label" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("次回から自動的にログインする")]);
echo "
";
}
// line 82
echo " </div>
</div>
";
}
// line 85
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 85, $this->source); })()), "session", [], "any", false, false, false, 85), "flashbag", [], "any", false, false, false, 85), "get", [0 => "password_reset_complete"], "method", false, false, false, 85));
foreach ($context['_seq'] as $context["_key"] => $context["reset_complete"]) {
// line 86
echo " <p>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["reset_complete"]), "html", null, true);
echo "</p>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['reset_complete'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 88
echo " <div class=\"p-mypage__login-info\">
<p class=\"p-mypage__login-info-text\">";
// line 89
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログイン情報をお忘れの場合、パスワードの再発行手続きを行ってください。"), "html", null, true);
echo "</p>
<div class=\"p-mypage__login-info-button\">
<a class=\"c-button c-button--dense c-button--outlined is-quaternary mdc-button mdc-button--dense mdc-button--outlined\" href=\"";
// line 91
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
echo "\">
<i class=\"c-button__icon mdc-button__icon material-icons\">vpn_key</i>
<span class=\"c-button__label mdc-button__label\">";
// line 93
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("パスワードの再発行"), "html", null, true);
echo "</span>
</a>
</div>
</div>
<div class=\"c-form__actions\">
<div class=\"c-form__actions-item\">
<button class=\"c-form__button c-button is-secondary c-button--unelevated mdc-button mdc-button--unelevated\" type=\"submit\">
<span class=\"c-button__label mdc-button__label\">";
// line 100
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログイン"), "html", null, true);
echo "</span>
</button>
</div>
<div class=\"c-form__actions-item\">
<a class=\"c-form__button c-button is-secondary c-button--outlined mdc-button mdc-button--outlined\" href=\"";
// line 104
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry");
echo "\">
<span class=\"c-button__label mdc-button__label\">";
// line 105
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("新規会員登録"), "html", null, true);
echo "</span>
</a>
</div>
</div>
</div>
<input type=\"hidden\" name=\"_csrf_token\" value=\"";
// line 110
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
echo "\">
</form>
</div>
</div>
</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Mypage/login.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 244 => 110, 236 => 105, 232 => 104, 225 => 100, 215 => 93, 210 => 91, 205 => 89, 202 => 88, 193 => 86, 188 => 85, 183 => 82, 177 => 80, 173 => 78, 171 => 77, 167 => 75, 164 => 74, 158 => 72, 156 => 71, 142 => 60, 125 => 46, 112 => 35, 109 => 34, 100 => 32, 95 => 31, 93 => 30, 89 => 29, 79 => 22, 73 => 18, 63 => 17, 52 => 11, 50 => 15, 48 => 13, 35 => 11,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE
Copyright(c) LOCKON CO.,LTD. All Rights Reserved.
http://www.lockon.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' %}
{% set body_class = 'mypage' %}
{% form_theme form 'Form/form_div_layout.twig' %}
{% block main %}
<section class=\"p-mypage\">
<div class=\"p-mypage__heading\">
<h1 class=\"c-page-title\">
<span class=\"c-page-title__text\">{{ 'ログイン'|trans }}</span>
</h1>
</div>
<div class=\"p-mypage__contents\">
<div class=\"p-mypage__login\">
<form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"{{ url('mypage_login') }}\">
{% if app.session.flashBag.has('eccube.login.target.path') %}
{% for targetPath in app.session.flashBag.peek('eccube.login.target.path') %}
<input type=\"hidden\" name=\"_target_path\" value=\"{{ targetPath }}\" />
{% endfor %}
{% endif %}
<div class=\"c-form is-input\">
<div class=\"c-form__box\">
<div class=\"c-form__box-item\">
<div class=\"p-mypage__login-user\">
<i class=\"p-mypage__login-user-icon material-icons\">account_circle</i>
</div>
</div>
</div>
<div class=\"c-form__box\">
<div class=\"c-form__box-item\">
<div class=\"c-text-field mdc-text-field mdc-text-field--outlined\">
{{ form_widget(form.login_email, {'attr': {'class': 'c-text-field__input mdc-text-field__input', 'autofocus': true}}) }}
<div class=\"mdc-notched-outline\">
<div class=\"mdc-notched-outline__leading\"></div>
<div class=\"mdc-notched-outline__notch\">
<label class=\"c-floating-label mdc-floating-label\" for=\"login_email\">メールアドレス</label>
</div>
<div class=\"mdc-notched-outline__trailing\"></div>
</div>
</div>
</div>
</div>
<div class=\"c-form__box\">
<div class=\"c-form__box-item\">
<div class=\"c-text-field mdc-text-field mdc-text-field--outlined\">
{{ form_widget(form.login_pass, {'attr': {'class': 'c-text-field__input mdc-text-field__input' }}) }}
<div class=\"mdc-notched-outline\">
<div class=\"mdc-notched-outline__leading\"></div>
<div class=\"mdc-notched-outline__notch\">
<label class=\"c-floating-label mdc-floating-label\" for=\"login_pass\">パスワード</label>
</div>
<div class=\"mdc-notched-outline__trailing\"></div>
</div>
</div>
</div>
</div>
{% if error %}
<p class=\"c-form__error-text\">{{ error.messageKey|trans(error.messageData, 'validators')|nl2br }}</p>
{% endif %}
{% if BaseInfo.option_remember_me %}
<div class=\"c-form__box\">
<div class=\"c-form__box-item\">
{% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
<input type=\"hidden\" name=\"login_memory\" value=\"1\">
{% else %}
{{ form_widget(form.login_memory, { 'label': '次回から自動的にログインする'|trans }) }}
{% endif %}
</div>
</div>
{% endif %}
{% for reset_complete in app.session.flashbag.get('password_reset_complete') %}
<p>{{ reset_complete|trans }}</p>
{% endfor %}
<div class=\"p-mypage__login-info\">
<p class=\"p-mypage__login-info-text\">{{ 'ログイン情報をお忘れの場合、パスワードの再発行手続きを行ってください。'|trans }}</p>
<div class=\"p-mypage__login-info-button\">
<a class=\"c-button c-button--dense c-button--outlined is-quaternary mdc-button mdc-button--dense mdc-button--outlined\" href=\"{{ url('forgot') }}\">
<i class=\"c-button__icon mdc-button__icon material-icons\">vpn_key</i>
<span class=\"c-button__label mdc-button__label\">{{ 'パスワードの再発行'|trans }}</span>
</a>
</div>
</div>
<div class=\"c-form__actions\">
<div class=\"c-form__actions-item\">
<button class=\"c-form__button c-button is-secondary c-button--unelevated mdc-button mdc-button--unelevated\" type=\"submit\">
<span class=\"c-button__label mdc-button__label\">{{ 'ログイン'|trans }}</span>
</button>
</div>
<div class=\"c-form__actions-item\">
<a class=\"c-form__button c-button is-secondary c-button--outlined mdc-button mdc-button--outlined\" href=\"{{ url('entry') }}\">
<span class=\"c-button__label mdc-button__label\">{{ '新規会員登録'|trans }}</span>
</a>
</div>
</div>
</div>
<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
</form>
</div>
</div>
</section>
{% endblock %}
", "Mypage/login.twig", "/home/rocroc/tsmt-store.com/public_html/app/template/ss4002/Mypage/login.twig");
}
}