<?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_404f6e7203746929b639f9423ccb6b57 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'],
];
}
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 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 15
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 16
echo "<link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/mypage-login.css"), "html", null, true);
echo "\" type=\"text/css\" media=\"all\" />
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 19
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 20
echo " <section id=\"main-visual\">
<div class=\"mainvisual\" style=\"background-image: url('";
// line 21
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/mv_img_01.jpg"), "html", null, true);
echo "'); ?>)\"></div>
</section>
<section id=\"main-title\">
<h2 class=\"page-title\">LOGIN</h2>
<div class=\"scroll\">
<a href=\"#topic-path\">
<p>scroll</p>
<img src=\"https://mx-build.jp/wp-content/themes/%E3%82%BF%E3%82%A4%E3%82%A8%E3%82%A4%E5%8C%97%E6%B5%B7%E9%81%93%E3%82%A8%E3%83%B3%E3%82%B7%E3%82%99%E3%83%8B%E3%82%A2%E3%82%A2%E3%83%AA%E3%83%B3%E3%82%AF%E3%82%99/img/scroll.png\" alt=\"scroll-arrow\">
</a>
</div>
</section>
\t<section id=\"topic-path\">
\t\t<div class=\"wrapper\">
\t\t\t<div class=\"container\">
\t\t\t\t<div class=\"page\">
\t\t\t\t\t<a href=\"/\">
\t\t\t\t\t\t<span class=\"home\">HOME</span>
\t\t\t\t\t</a>
\t\t\t\t\t<span>></span>
\t\t\t\t\t<span class=\"current\">ログイン</span>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
<div class=\"ec-role\">
<div class=\"ec-pageHeader\">
<h1>";
// line 47
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログイン"), "html", null, true);
echo "</h1>
</div>
<div class=\"ec-off2Grid\">
<div class=\"ec-off2Grid__cell\">
<form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"";
// line 51
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_login");
echo "\">
";
// line 52
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.', 52, $this->source); })()), "session", [], "any", false, false, false, 52), "flashBag", [], "any", false, false, false, 52), "has", [0 => "eccube.login.target.path"], "method", false, false, false, 52)) {
// line 53
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.', 53, $this->source); })()), "session", [], "any", false, false, false, 53), "flashBag", [], "any", false, false, false, 53), "peek", [0 => "eccube.login.target.path"], "method", false, false, false, 53));
foreach ($context['_seq'] as $context["_key"] => $context["targetPath"]) {
// line 54
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 56
echo " ";
}
// line 57
echo " <div class=\"ec-login\">
<div class=\"ec-login__icon\">
<div class=\"ec-icon\"><img src=\"";
// line 59
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/user.svg"), "html", null, true);
echo "\" alt=\"\"></div>
</div>
<div class=\"ec-login__input\">
<div class=\"ec-input\">
";
// line 63
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.', 63, $this->source); })()), "login_email", [], "any", false, false, false, 63), 'widget', ["attr" => ["style" => "ime-mode: disabled;", "placeholder" => "メールアドレス", "autofocus" => true]]);
echo "
";
// line 64
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.', 64, $this->source); })()), "login_pass", [], "any", false, false, false, 64), 'widget', ["attr" => ["placeholder" => "パスワード"]]);
echo "
</div>
";
// line 66
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.', 66, $this->source); })()), "option_remember_me", [], "any", false, false, false, 66)) {
// line 67
echo " <div class=\"ec-checkbox\">
<label>
";
// line 69
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
// line 70
echo " <input type=\"hidden\" name=\"login_memory\" value=\"1\">
";
} else {
// line 72
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.', 72, $this->source); })()), "login_memory", [], "any", false, false, false, 72), 'widget', ["label" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("次回から自動的にログインする")]);
echo "
";
}
// line 74
echo " </label>
</div>
";
}
// line 77
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.', 77, $this->source); })()), "session", [], "any", false, false, false, 77), "flashbag", [], "any", false, false, false, 77), "get", [0 => "password_reset_complete"], "method", false, false, false, 77));
foreach ($context['_seq'] as $context["_key"] => $context["reset_complete"]) {
// line 78
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 80
echo " ";
if ((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 80, $this->source); })())) {
// line 81
echo " <p class=\"ec-errorMessage\">";
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.', 81, $this->source); })()), "messageKey", [], "any", false, false, false, 81), 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.', 81, $this->source); })()), "messageData", [], "any", false, false, false, 81), "validators"), "html", null, true));
echo "</p>
";
}
// line 83
echo " </div>
<div class=\"ec-grid2\">
<div class=\"ec-grid2__cell\">
<div class=\"ec-login__actions\">
<button type=\"submit\"
class=\"ec-blockBtn--cancel\">";
// line 88
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログイン"), "html", null, true);
echo "</button>
</div>
</div>
<div class=\"ec-grid2__cell\">
<div class=\"ec-login__link\"><a class=\"ec-link\"
href=\"";
// line 93
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログイン情報をお忘れですか?"), "html", null, true);
echo "</a>
</div>
<div class=\"ec-login__link\"><a class=\"ec-link\"
href=\"";
// line 96
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("新規会員登録"), "html", null, true);
echo "</a>
</div>
</div>
</div>
</div>
<input type=\"hidden\" name=\"_csrf_token\" value=\"";
// line 101
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
echo "\">
</form>
</div>
</div>
</div>
";
$__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 ( 256 => 101, 246 => 96, 238 => 93, 230 => 88, 223 => 83, 217 => 81, 214 => 80, 205 => 78, 200 => 77, 195 => 74, 189 => 72, 185 => 70, 183 => 69, 179 => 67, 177 => 66, 172 => 64, 168 => 63, 161 => 59, 157 => 57, 154 => 56, 145 => 54, 140 => 53, 138 => 52, 134 => 51, 127 => 47, 98 => 21, 95 => 20, 85 => 19, 72 => 16, 62 => 15, 51 => 11, 49 => 13, 36 => 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' %}
{% set body_class = 'mypage' %}
{% block stylesheet %}
<link rel=\"stylesheet\" href=\"{{ asset('assets/css/mypage-login.css') }}\" type=\"text/css\" media=\"all\" />
{% endblock %}
{% block main %}
<section id=\"main-visual\">
<div class=\"mainvisual\" style=\"background-image: url('{{ asset('assets/img/common/mv_img_01.jpg') }}'); ?>)\"></div>
</section>
<section id=\"main-title\">
<h2 class=\"page-title\">LOGIN</h2>
<div class=\"scroll\">
<a href=\"#topic-path\">
<p>scroll</p>
<img src=\"https://mx-build.jp/wp-content/themes/%E3%82%BF%E3%82%A4%E3%82%A8%E3%82%A4%E5%8C%97%E6%B5%B7%E9%81%93%E3%82%A8%E3%83%B3%E3%82%B7%E3%82%99%E3%83%8B%E3%82%A2%E3%82%A2%E3%83%AA%E3%83%B3%E3%82%AF%E3%82%99/img/scroll.png\" alt=\"scroll-arrow\">
</a>
</div>
</section>
\t<section id=\"topic-path\">
\t\t<div class=\"wrapper\">
\t\t\t<div class=\"container\">
\t\t\t\t<div class=\"page\">
\t\t\t\t\t<a href=\"/\">
\t\t\t\t\t\t<span class=\"home\">HOME</span>
\t\t\t\t\t</a>
\t\t\t\t\t<span>></span>
\t\t\t\t\t<span class=\"current\">ログイン</span>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
<div class=\"ec-role\">
<div class=\"ec-pageHeader\">
<h1>{{ 'ログイン'|trans }}</h1>
</div>
<div class=\"ec-off2Grid\">
<div class=\"ec-off2Grid__cell\">
<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=\"ec-login\">
<div class=\"ec-login__icon\">
<div class=\"ec-icon\"><img src=\"{{ asset('assets/icon/user.svg') }}\" alt=\"\"></div>
</div>
<div class=\"ec-login__input\">
<div class=\"ec-input\">
{{ form_widget(form.login_email, {'attr': {'style' : 'ime-mode: disabled;', 'placeholder' : 'メールアドレス', 'autofocus': true}}) }}
{{ form_widget(form.login_pass, {'attr': {'placeholder' : 'パスワード' }}) }}
</div>
{% if BaseInfo.option_remember_me %}
<div class=\"ec-checkbox\">
<label>
{% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
<input type=\"hidden\" name=\"login_memory\" value=\"1\">
{% else %}
{{ form_widget(form.login_memory, { 'label': '次回から自動的にログインする'|trans }) }}
{% endif %}
</label>
</div>
{% endif %}
{% for reset_complete in app.session.flashbag.get('password_reset_complete') %}
<p>{{ reset_complete|trans }}</p>
{% endfor %}
{% if error %}
<p class=\"ec-errorMessage\">{{ error.messageKey|trans(error.messageData, 'validators')|nl2br }}</p>
{% endif %}
</div>
<div class=\"ec-grid2\">
<div class=\"ec-grid2__cell\">
<div class=\"ec-login__actions\">
<button type=\"submit\"
class=\"ec-blockBtn--cancel\">{{ 'ログイン'|trans }}</button>
</div>
</div>
<div class=\"ec-grid2__cell\">
<div class=\"ec-login__link\"><a class=\"ec-link\"
href=\"{{ url('forgot') }}\">{{ 'ログイン情報をお忘れですか?'|trans }}</a>
</div>
<div class=\"ec-login__link\"><a class=\"ec-link\"
href=\"{{ url('entry') }}\">{{ '新規会員登録'|trans }}</a>
</div>
</div>
</div>
</div>
<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
</form>
</div>
</div>
</div>
{% endblock %}", "Mypage/login.twig", "/home/fneccube02/mx-build.jp/public_html/shop/app/template/myTemplate/Mypage/login.twig");
}
}