<?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;
/* Shopping/nonmember.twig */
class __TwigTemplate_b940fb2fbc7e055b4b82a63164484bd9 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'javascript' => [$this, 'block_javascript'],
'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", "Shopping/nonmember.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Shopping/nonmember.twig"));
// line 13
$context["body_class"] = "cart_page";
// 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", "Shopping/nonmember.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_javascript($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", "javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
// line 18
echo "<script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 21
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 22
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 29
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 35
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("shopping_nonmember");
echo "\">
<span class=\"freight-neo-pro\" itemprop=\"name\">お客様情報の入力</span>
</a>
<meta itemprop=\"position\" content=\"2\" />
</li>
</ol>
</div>
<!-- /.bread_wrap -->
</div>
</section>
<section class=\"nonmember\">
<div class=\"inner\">
<ul class=\"p-progress ec-progress\">
";
// line 49
$context["step"] = 1;
// line 50
echo " <li class=\"ec-progress__item\">
<div class=\"ec-progress__number\">";
// line 51
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 51, $this->source); })()), 51, $this->source), "html", null, true);
$context["step"] = ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 51, $this->source); })()) + 1);
// line 52
echo " </div>
<div class=\"ec-progress__label\">";
// line 53
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートの<br>商品");
echo "
</div>
</li>
";
// line 56
if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER") == false)) {
// line 57
echo " <li class=\"ec-progress__item is-complete\">
<div class=\"ec-progress__number\">";
// line 58
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 58, $this->source); })()), 58, $this->source), "html", null, true);
$context["step"] = ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 58, $this->source); })()) + 1);
// line 59
echo " </div>
<div class=\"ec-progress__label\">";
// line 60
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お客様<br>情報");
echo "
</div>
</li>
";
}
// line 64
echo " <li class=\"ec-progress__item\">
<div class=\"ec-progress__number\">";
// line 65
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 65, $this->source); })()), 65, $this->source), "html", null, true);
$context["step"] = ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 65, $this->source); })()) + 1);
// line 66
echo " </div>
<div class=\"ec-progress__label\">";
// line 67
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文<br>手続き");
echo "
</div>
</li>
<li class=\"ec-progress__item\">
<div class=\"ec-progress__number\">";
// line 71
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 71, $this->source); })()), 71, $this->source), "html", null, true);
$context["step"] = ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 71, $this->source); })()) + 1);
// line 72
echo " </div>
<div class=\"ec-progress__label\">";
// line 73
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文<br>内容確認");
echo "
</div>
</li>
<li class=\"ec-progress__item\">
<div class=\"ec-progress__number\">";
// line 77
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 77, $this->source); })()), 77, $this->source), "html", null, true);
$context["step"] = ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 77, $this->source); })()) + 1);
// line 78
echo " </div>
<div class=\"ec-progress__label\">";
// line 79
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("完了"), "html", null, true);
echo "
</div>
</li>
</ul>
<div class=\"nonmember-form\">
<form method=\"post\" action=\"";
// line 84
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("shopping_nonmember");
echo "\" class=\"h-adr\">
<span class=\"p-country-name\" style=\"display:none;\">Japan</span>
";
// line 86
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.', 86, $this->source); })()), "_token", [], "any", false, false, true, 86), 86, $this->source), 'widget');
echo "
<dl class=\"p-form-list\">
<dt>
";
// line 89
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.', 89, $this->source); })()), "name", [], "any", false, false, true, 89), 89, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前"]);
echo "
</dt>
<dd>
<div class=\"form-half-wrap";
// line 92
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 92, $this->source); })()), "name", [], "any", false, false, true, 92), "name01", [], "any", false, false, true, 92), 92, $this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 92, $this->source); })()), "name", [], "any", false, false, true, 92), "name02", [], "any", false, false, true, 92), 92, $this->source))) ? (" error") : (""));
echo "\">
";
// line 93
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 93, $this->source); })()), "name", [], "any", false, false, true, 93), "name01", [], "any", false, false, true, 93), 93, $this->source), 'widget', ["attr" => ["placeholder" => "姓"]]);
echo "
";
// line 94
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 94, $this->source); })()), "name", [], "any", false, false, true, 94), "name02", [], "any", false, false, true, 94), 94, $this->source), 'widget', ["attr" => ["placeholder" => "名"]]);
echo "
</div>
<div class=\"form-error-wrap\">
";
// line 97
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 97, $this->source); })()), "name", [], "any", false, false, true, 97), "name01", [], "any", false, false, true, 97), 97, $this->source), 'errors');
echo "
";
// line 98
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 98, $this->source); })()), "name", [], "any", false, false, true, 98), "name02", [], "any", false, false, true, 98), 98, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<dl class=\"p-form-list\">
<dt>
";
// line 104
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.', 104, $this->source); })()), "kana", [], "any", false, false, true, 104), 104, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前(カナ)"]);
echo "
</dt>
<dd>
<div class=\"form-half-wrap";
// line 107
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 107, $this->source); })()), "kana", [], "any", false, false, true, 107), "kana01", [], "any", false, false, true, 107), 107, $this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 107, $this->source); })()), "kana", [], "any", false, false, true, 107), "kana02", [], "any", false, false, true, 107), 107, $this->source))) ? (" error") : (""));
echo "\">
";
// line 108
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 108, $this->source); })()), "kana", [], "any", false, false, true, 108), "kana01", [], "any", false, false, true, 108), 108, $this->source), 'widget', ["attr" => ["placeholder" => "セイ"]]);
echo "
";
// line 109
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 109, $this->source); })()), "kana", [], "any", false, false, true, 109), "kana02", [], "any", false, false, true, 109), 109, $this->source), 'widget', ["attr" => ["placeholder" => "メイ"]]);
echo "
</div>
<div class=\"form-error-wrap\">
";
// line 112
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 112, $this->source); })()), "kana", [], "any", false, false, true, 112), "kana01", [], "any", false, false, true, 112), 112, $this->source), 'errors');
echo "
";
// line 113
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 113, $this->source); })()), "kana", [], "any", false, false, true, 113), "kana02", [], "any", false, false, true, 113), 113, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<!-- <dl class=\"p-form-list\">
<dt>
";
// line 119
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.', 119, $this->source); })()), "company_name", [], "any", false, false, true, 119), 119, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "会社名"]);
echo "
</dt>
<dd>
<div class=\"ec-halfInput";
// line 122
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.', 122, $this->source); })()), "company_name", [], "any", false, false, true, 122), 122, $this->source))) ? (" error") : (""));
echo "\">
";
// line 123
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.', 123, $this->source); })()), "company_name", [], "any", false, false, true, 123), 123, $this->source), 'widget');
echo "
";
// line 124
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.', 124, $this->source); })()), "company_name", [], "any", false, false, true, 124), 124, $this->source), 'errors');
echo "
</div>
</dd>
</dl> -->
<dl class=\"p-form-list\">
<dt>
";
// line 130
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.', 130, $this->source); })()), "address", [], "any", false, false, true, 130), 130, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "住所"]);
echo "
</dt>
<dd>
<div class=\"form-zip";
// line 133
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.', 133, $this->source); })()), "postal_code", [], "any", false, false, true, 133), 133, $this->source))) ? (" error") : (""));
echo "\"><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("〒"), "html", null, true);
echo "</span>
";
// line 134
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.', 134, $this->source); })()), "postal_code", [], "any", false, false, true, 134), 134, $this->source), 'widget');
echo "
<!-- <div class=\"ec-zipInputHelp\">
<div class=\"ec-zipInputHelp__icon\">
<div class=\"ec-icon\"><img src=\"";
// line 137
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/question-white.svg"), "html", null, true);
echo "\" alt=\"\">
</div>
</div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>";
// line 139
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("郵便番号検索"), "html", null, true);
echo "</span></a>
</div> -->
";
// line 141
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.', 141, $this->source); })()), "postal_code", [], "any", false, false, true, 141), 141, $this->source), 'errors');
echo "
</div>
<div class=\"form-select form-address-select";
// line 144
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 144, $this->source); })()), "address", [], "any", false, false, true, 144), "pref", [], "any", false, false, true, 144), 144, $this->source))) ? (" error") : (""));
echo "\">
";
// line 145
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 145, $this->source); })()), "address", [], "any", false, false, true, 145), "pref", [], "any", false, false, true, 145), 145, $this->source), 'widget');
echo "
";
// line 146
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 146, $this->source); })()), "address", [], "any", false, false, true, 146), "pref", [], "any", false, false, true, 146), 146, $this->source), 'errors');
echo "
</div>
<div class=\"form-address-input -first";
// line 148
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 148, $this->source); })()), "address", [], "any", false, false, true, 148), "addr01", [], "any", false, false, true, 148), 148, $this->source))) ? (" error") : (""));
echo "\">
";
// line 149
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 149, $this->source); })()), "address", [], "any", false, false, true, 149), "addr01", [], "any", false, false, true, 149), 149, $this->source), 'widget', ["attr" => ["placeholder" => "市町村名(例:尼崎市立花町)"]]);
echo "
";
// line 150
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 150, $this->source); })()), "address", [], "any", false, false, true, 150), "addr01", [], "any", false, false, true, 150), 150, $this->source), 'errors');
echo "
</div>
<div class=\"form-address-input -second";
// line 152
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 152, $this->source); })()), "address", [], "any", false, false, true, 152), "addr02", [], "any", false, false, true, 152), 152, $this->source))) ? (" error") : (""));
echo "\">
";
// line 153
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 153, $this->source); })()), "address", [], "any", false, false, true, 153), "addr02", [], "any", false, false, true, 153), 153, $this->source), 'widget', ["attr" => ["placeholder" => "番地・ビル名(例:4丁目4番21号)"]]);
echo "
";
// line 154
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 154, $this->source); })()), "address", [], "any", false, false, true, 154), "addr02", [], "any", false, false, true, 154), 154, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<dl class=\"p-form-list\">
<dt>
";
// line 160
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.', 160, $this->source); })()), "phone_number", [], "any", false, false, true, 160), 160, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "電話番号"]);
echo "
</dt>
<dd>
<div class=\"form-tel";
// line 163
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.', 163, $this->source); })()), "phone_number", [], "any", false, false, true, 163), 163, $this->source))) ? (" error") : (""));
echo "\">
";
// line 164
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.', 164, $this->source); })()), "phone_number", [], "any", false, false, true, 164), 164, $this->source), 'widget');
echo "
";
// line 165
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.', 165, $this->source); })()), "phone_number", [], "any", false, false, true, 165), 165, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<dl class=\"p-form-list\">
<dt>
";
// line 171
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.', 171, $this->source); })()), "email", [], "any", false, false, true, 171), 171, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "メールアドレス"]);
echo "
</dt>
<dd>
<div class=\"form-email -input";
// line 174
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 174, $this->source); })()), "email", [], "any", false, false, true, 174), "first", [], "any", false, false, true, 174), 174, $this->source))) ? (" error") : (""));
echo "\">
";
// line 175
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 175, $this->source); })()), "email", [], "any", false, false, true, 175), "first", [], "any", false, false, true, 175), 175, $this->source), 'widget', ["attr" => ["placeholder" => "sample@mail.com"]]);
echo "
";
// line 176
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 176, $this->source); })()), "email", [], "any", false, false, true, 176), "first", [], "any", false, false, true, 176), 176, $this->source), 'errors');
echo "
</div>
<div class=\"form-email";
// line 178
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 178, $this->source); })()), "email", [], "any", false, false, true, 178), "second", [], "any", false, false, true, 178), 178, $this->source))) ? (" error") : (""));
echo "\">
";
// line 179
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 179, $this->source); })()), "email", [], "any", false, false, true, 179), "second", [], "any", false, false, true, 179), 179, $this->source), 'widget', ["attr" => ["placeholder" => "確認のためもう一度入力してください"]]);
echo "
";
// line 180
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 180, $this->source); })()), "email", [], "any", false, false, true, 180), "second", [], "any", false, false, true, 180), 180, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<div class=\"p-button form green\">
<button type=\"submit\">";
// line 185
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("次へ"), "html", null, true);
echo "</button>
</div>
<div class=\"p-button form white\">
<a href=\"";
// line 188
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("戻る"), "html", null, true);
echo "</a>
</div>
</form>
</div>
</div>
</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Shopping/nonmember.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 451 => 188, 445 => 185, 437 => 180, 433 => 179, 429 => 178, 424 => 176, 420 => 175, 416 => 174, 410 => 171, 401 => 165, 397 => 164, 393 => 163, 387 => 160, 378 => 154, 374 => 153, 370 => 152, 365 => 150, 361 => 149, 357 => 148, 352 => 146, 348 => 145, 344 => 144, 338 => 141, 333 => 139, 328 => 137, 322 => 134, 316 => 133, 310 => 130, 301 => 124, 297 => 123, 293 => 122, 287 => 119, 278 => 113, 274 => 112, 268 => 109, 264 => 108, 260 => 107, 254 => 104, 245 => 98, 241 => 97, 235 => 94, 231 => 93, 227 => 92, 221 => 89, 215 => 86, 210 => 84, 202 => 79, 199 => 78, 196 => 77, 189 => 73, 186 => 72, 183 => 71, 176 => 67, 173 => 66, 170 => 65, 167 => 64, 160 => 60, 157 => 59, 154 => 58, 151 => 57, 149 => 56, 143 => 53, 140 => 52, 137 => 51, 134 => 50, 132 => 49, 115 => 35, 106 => 29, 97 => 22, 87 => 21, 76 => 18, 66 => 17, 55 => 11, 53 => 15, 51 => 13, 38 => 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 = 'cart_page' %}
{% form_theme form 'Form/form_div_layout.twig' %}
{% block javascript %}
<script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
{% endblock javascript %}
{% 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('shopping_nonmember') }}\">
<span class=\"freight-neo-pro\" itemprop=\"name\">お客様情報の入力</span>
</a>
<meta itemprop=\"position\" content=\"2\" />
</li>
</ol>
</div>
<!-- /.bread_wrap -->
</div>
</section>
<section class=\"nonmember\">
<div class=\"inner\">
<ul class=\"p-progress ec-progress\">
{% set step = 1 %}
<li class=\"ec-progress__item\">
<div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
</div>
<div class=\"ec-progress__label\">{{ 'カートの<br>商品'|trans|raw }}
</div>
</li>
{% if is_granted('ROLE_USER') == false %}
<li class=\"ec-progress__item is-complete\">
<div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
</div>
<div class=\"ec-progress__label\">{{ 'お客様<br>情報'|trans|raw }}
</div>
</li>
{% endif %}
<li class=\"ec-progress__item\">
<div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
</div>
<div class=\"ec-progress__label\">{{ 'ご注文<br>手続き'|trans|raw }}
</div>
</li>
<li class=\"ec-progress__item\">
<div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
</div>
<div class=\"ec-progress__label\">{{ 'ご注文<br>内容確認'|trans|raw }}
</div>
</li>
<li class=\"ec-progress__item\">
<div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
</div>
<div class=\"ec-progress__label\">{{ '完了'|trans }}
</div>
</li>
</ul>
<div class=\"nonmember-form\">
<form method=\"post\" action=\"{{ url('shopping_nonmember') }}\" class=\"h-adr\">
<span class=\"p-country-name\" style=\"display:none;\">Japan</span>
{{ form_widget(form._token) }}
<dl class=\"p-form-list\">
<dt>
{{ form_label(form.name, 'お名前', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"form-half-wrap{{ has_errors(form.name.name01, form.name.name02) ? ' error'}}\">
{{ form_widget(form.name.name01, { 'attr': { 'placeholder': '姓' }}) }}
{{ form_widget(form.name.name02, { 'attr': { 'placeholder': '名' }}) }}
</div>
<div class=\"form-error-wrap\">
{{ form_errors(form.name.name01) }}
{{ form_errors(form.name.name02) }}
</div>
</dd>
</dl>
<dl class=\"p-form-list\">
<dt>
{{ form_label(form.kana, 'お名前(カナ)', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"form-half-wrap{{ has_errors(form.kana.kana01, form.kana.kana02) ? ' error'}}\">
{{ form_widget(form.kana.kana01, { 'attr': { 'placeholder': 'セイ' }}) }}
{{ form_widget(form.kana.kana02, { 'attr': { 'placeholder': 'メイ' }}) }}
</div>
<div class=\"form-error-wrap\">
{{ form_errors(form.kana.kana01) }}
{{ form_errors(form.kana.kana02) }}
</div>
</dd>
</dl>
<!-- <dl class=\"p-form-list\">
<dt>
{{ form_label(form.company_name, '会社名', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"ec-halfInput{{ has_errors(form.company_name) ? ' error' }}\">
{{ form_widget(form.company_name) }}
{{ form_errors(form.company_name) }}
</div>
</dd>
</dl> -->
<dl class=\"p-form-list\">
<dt>
{{ form_label(form.address, '住所', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"form-zip{{ has_errors(form.postal_code) ? ' error' }}\"><span>{{ '〒'|trans }}</span>
{{ form_widget(form.postal_code) }}
<!-- <div class=\"ec-zipInputHelp\">
<div class=\"ec-zipInputHelp__icon\">
<div class=\"ec-icon\"><img src=\"{{ asset('assets/icon/question-white.svg') }}\" alt=\"\">
</div>
</div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>{{ '郵便番号検索'|trans }}</span></a>
</div> -->
{{ form_errors(form.postal_code) }}
</div>
<div class=\"form-select form-address-select{{ has_errors(form.address.pref) ? ' error' }}\">
{{ form_widget(form.address.pref) }}
{{ form_errors(form.address.pref) }}
</div>
<div class=\"form-address-input -first{{ has_errors(form.address.addr01) ? ' error' }}\">
{{ form_widget(form.address.addr01, { 'attr': { 'placeholder': '市町村名(例:尼崎市立花町)' }}) }}
{{ form_errors(form.address.addr01) }}
</div>
<div class=\"form-address-input -second{{ has_errors(form.address.addr02) ? ' error' }}\">
{{ form_widget(form.address.addr02, { 'attr': { 'placeholder': '番地・ビル名(例:4丁目4番21号)' }}) }}
{{ form_errors(form.address.addr02) }}
</div>
</dd>
</dl>
<dl class=\"p-form-list\">
<dt>
{{ form_label(form.phone_number, '電話番号', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"form-tel{{ has_errors(form.phone_number) ? ' error' }}\">
{{ form_widget(form.phone_number) }}
{{ form_errors(form.phone_number) }}
</div>
</dd>
</dl>
<dl class=\"p-form-list\">
<dt>
{{ form_label(form.email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"form-email -input{{ has_errors(form.email.first) ? ' error' }}\">
{{ form_widget(form.email.first, { 'attr': { 'placeholder': 'sample@mail.com' }}) }}
{{ form_errors(form.email.first) }}
</div>
<div class=\"form-email{{ has_errors(form.email.second) ? ' error' }}\">
{{ form_widget(form.email.second, { 'attr': { 'placeholder': '確認のためもう一度入力してください' }}) }}
{{ form_errors(form.email.second) }}
</div>
</dd>
</dl>
<div class=\"p-button form green\">
<button type=\"submit\">{{ '次へ'|trans }}</button>
</div>
<div class=\"p-button form white\">
<a href=\"{{ url('cart') }}\">{{ '戻る'|trans }}</a>
</div>
</form>
</div>
</div>
</section>
{% endblock %}", "Shopping/nonmember.twig", "/home/hirota-s.com/public_html/app/template/default/Shopping/nonmember.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 13, "form_theme" => 15, "if" => 56);
static $filters = array("escape" => 51, "raw" => 53, "trans" => 53);
static $functions = array("url" => 29, "is_granted" => 56, "form_widget" => 86, "form_label" => 89, "has_errors" => 92, "form_errors" => 97, "asset" => 137);
try {
$this->sandbox->checkSecurity(
['set', 'form_theme', 'if'],
['escape', 'raw', 'trans'],
['url', 'is_granted', 'form_widget', 'form_label', 'has_errors', 'form_errors', 'asset']
);
} 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;
}
}
}