<?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;
/* Contact/index.twig */
class __TwigTemplate_baaace11b9e5fa5942e463754ece0caa 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 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", "Contact/index.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Contact/index.twig"));
// line 3
$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.', 3, $this->source); })()), [0 => "Form/form_div_layout.twig"], true);
// line 1
$this->parent = $this->loadTemplate("default_frame.twig", "Contact/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 5
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 6
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 9
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 10
echo "
<div class=\"ec-contactRole\">
<div class=\"ec-pageHeader\">
<h2 class=\"title\">お問い合わせ(入力ページ)</h2>
</div>
<div class=\"ec-contactRole__header\">
<p class=\"ec-para-normal\">";
// line 16
echo twig_nl2br(twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("内容によっては回答をさしあげるまでにお時間をいただく場合がございます。また、当社休業日の場合は翌営業日以降の対応となります。"), "html", null, true));
echo "</p>
<p>下記の項目にご入力ください。「<span class=\"needred\">必須</span>」印は入力必須項目です。<br />入力後、一番下の「確認ページへ」をクリックしてください。</p>
</div>
<form method=\"post\" action=\"";
// line 20
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
echo "\" class=\"h-adr\" novalidate>
<span class=\"p-country-name\" style=\"display:none;\">Japan</span>
";
// line 22
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.', 22, $this->source); })()), "_token", [], "any", false, false, true, 22), 22, $this->source), 'widget');
echo "
<div class=\"table-layout\">
<div class=\"tr\">
<div class=\"th w3\">
";
// line 26
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.', 26, $this->source); })()), "name", [], "any", false, false, true, 26), 26, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前"]);
echo "
</div>
<div class=\"td w9\">
<div class=\"ec-halfInput";
// line 29
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.', 29, $this->source); })()), "name", [], "any", false, false, true, 29), "name01", [], "any", false, false, true, 29), 29, $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.', 29, $this->source); })()), "name", [], "any", false, false, true, 29), "name02", [], "any", false, false, true, 29), 29, $this->source))) ? (" error") : (""));
echo "\">
";
// line 30
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.', 30, $this->source); })()), "name", [], "any", false, false, true, 30), "name01", [], "any", false, false, true, 30), 30, $this->source), 'widget', ["attr" => ["placeholder" => "姓"]]);
echo "
";
// line 31
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.', 31, $this->source); })()), "name", [], "any", false, false, true, 31), "name02", [], "any", false, false, true, 31), 31, $this->source), 'widget', ["attr" => ["placeholder" => "名"]]);
echo "
";
// line 32
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.', 32, $this->source); })()), "name", [], "any", false, false, true, 32), "name01", [], "any", false, false, true, 32), 32, $this->source), 'errors');
echo "
";
// line 33
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.', 33, $this->source); })()), "name", [], "any", false, false, true, 33), "name02", [], "any", false, false, true, 33), 33, $this->source), 'errors');
echo "
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
";
// line 39
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.', 39, $this->source); })()), "kana", [], "any", false, false, true, 39), 39, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前(フリガナ)"]);
echo "
</div>
<div class=\"td w9\">
<div class=\"ec-halfInput";
// line 42
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.', 42, $this->source); })()), "kana", [], "any", false, false, true, 42), "kana01", [], "any", false, false, true, 42), 42, $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.', 42, $this->source); })()), "kana", [], "any", false, false, true, 42), "kana02", [], "any", false, false, true, 42), 42, $this->source))) ? (" error") : (""));
echo "\">
";
// line 43
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.', 43, $this->source); })()), "kana", [], "any", false, false, true, 43), "kana01", [], "any", false, false, true, 43), 43, $this->source), 'widget', ["attr" => ["placeholder" => "セイ"]]);
echo "
";
// line 44
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.', 44, $this->source); })()), "kana", [], "any", false, false, true, 44), "kana02", [], "any", false, false, true, 44), 44, $this->source), 'widget', ["attr" => ["placeholder" => "メイ"]]);
echo "
";
// line 45
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.', 45, $this->source); })()), "kana", [], "any", false, false, true, 45), "kana01", [], "any", false, false, true, 45), 45, $this->source), 'errors');
echo "
";
// line 46
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.', 46, $this->source); })()), "kana", [], "any", false, false, true, 46), "kana02", [], "any", false, false, true, 46), 46, $this->source), 'errors');
echo "
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
";
// 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); })()), "address", [], "any", false, false, true, 52), 52, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "住所"]);
echo "
</div>
<div class=\"td w9\">
<div class=\"ec-zipInput";
// line 55
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.', 55, $this->source); })()), "postal_code", [], "any", false, false, true, 55), 55, $this->source))) ? (" error") : (""));
echo "\">
<span>";
// line 56
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("〒"), "html", null, true);
echo "</span>
";
// line 57
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.', 57, $this->source); })()), "postal_code", [], "any", false, false, true, 57), 57, $this->source), 'widget', ["attr" => ["placeholder" => "6048454"]]);
echo "
<div class=\"ec-zipInputHelp\">
<div class=\"ec-zipInputHelp__icon\">
<div class=\"ec-icon\"><img
src=\"";
// line 61
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 64
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("郵便番号検索"), "html", null, true);
echo "</span></a>
</div>
";
// line 66
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.', 66, $this->source); })()), "postal_code", [], "any", false, false, true, 66), 66, $this->source), 'errors');
echo "
</div>
<div class=\"ec-select";
// line 68
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.', 68, $this->source); })()), "address", [], "any", false, false, true, 68), "pref", [], "any", false, false, true, 68), 68, $this->source))) ? (" error") : (""));
echo "\">
";
// line 69
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.', 69, $this->source); })()), "address", [], "any", false, false, true, 69), "pref", [], "any", false, false, true, 69), 69, $this->source), 'widget');
echo "
";
// line 70
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.', 70, $this->source); })()), "address", [], "any", false, false, true, 70), "pref", [], "any", false, false, true, 70), 70, $this->source), 'errors');
echo "
</div>
<div class=\"ec-input";
// line 72
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.', 72, $this->source); })()), "address", [], "any", false, false, true, 72), "addr01", [], "any", false, false, true, 72), 72, $this->source))) ? (" error") : (""));
echo "\">
";
// line 73
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.', 73, $this->source); })()), "address", [], "any", false, false, true, 73), "addr01", [], "any", false, false, true, 73), 73, $this->source), 'widget', ["attr" => ["placeholder" => "市区町村名(例:京都市中京区西ノ京小堀池町)"]]);
echo "
";
// line 74
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.', 74, $this->source); })()), "address", [], "any", false, false, true, 74), "addr01", [], "any", false, false, true, 74), 74, $this->source), 'errors');
echo "
</div>
<div class=\"ec-input";
// line 76
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.', 76, $this->source); })()), "address", [], "any", false, false, true, 76), "addr02", [], "any", false, false, true, 76), 76, $this->source))) ? (" error") : (""));
echo "\">
";
// line 77
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.', 77, $this->source); })()), "address", [], "any", false, false, true, 77), "addr02", [], "any", false, false, true, 77), 77, $this->source), 'widget', ["attr" => ["placeholder" => "番地・ビル名(例:8-2)"]]);
echo "
";
// line 78
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.', 78, $this->source); })()), "address", [], "any", false, false, true, 78), "addr02", [], "any", false, false, true, 78), 78, $this->source), 'errors');
echo "
</div>
<div class=\"attention-area\">
<p class=\"attention\">マンション名は必ずご入力ください。</p>
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
";
// line 87
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.', 87, $this->source); })()), "phone_number", [], "any", false, false, true, 87), 87, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "電話番号"]);
echo "
</div>
<div class=\"td w9\">
<div class=\"ec-telInput";
// line 90
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.', 90, $this->source); })()), "phone_number", [], "any", false, false, true, 90), 90, $this->source))) ? (" error") : (""));
echo "\">
";
// line 91
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.', 91, $this->source); })()), "phone_number", [], "any", false, false, true, 91), 91, $this->source), 'widget');
echo "
";
// line 92
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.', 92, $this->source); })()), "phone_number", [], "any", false, false, true, 92), 92, $this->source), 'errors');
echo "
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
";
// line 98
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.', 98, $this->source); })()), "email", [], "any", false, false, true, 98), 98, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "メールアドレス"]);
echo "
</div>
<div class=\"td w9\">
<div class=\"ec-input";
// line 101
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.', 101, $this->source); })()), "email", [], "any", false, false, true, 101), 101, $this->source))) ? (" error") : (""));
echo "\">
";
// line 102
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.', 102, $this->source); })()), "email", [], "any", false, false, true, 102), 102, $this->source), 'widget');
echo "
";
// line 103
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.', 103, $this->source); })()), "email", [], "any", false, false, true, 103), 103, $this->source), 'errors');
echo "
</div>
<strong>【ドメイン指定受信について】</strong><br />
キャリアメールのドメイン指定受信をご利用されている方は、<br />下記ドメインメールが受信できるよう設定してください。<br />
【ドメイン名】<br />
higashiyama.co.jp
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
";
// line 113
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.', 113, $this->source); })()), "contents", [], "any", false, false, true, 113), 113, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お問い合わせ内容"]);
echo "
</div>
<div class=\"td w9\">
<div class=\"ec-input";
// line 116
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.', 116, $this->source); })()), "contents", [], "any", false, false, true, 116), 116, $this->source))) ? (" error") : (""));
echo "\">
";
// line 117
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.', 117, $this->source); })()), "contents", [], "any", false, false, true, 117), 117, $this->source), 'widget');
echo "
";
// line 118
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.', 118, $this->source); })()), "contents", [], "any", false, false, true, 118), 118, $this->source), 'errors');
echo "
</div>
</div>
</div>
";
// line 123
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 123, $this->source); })()), function ($__f__) use ($context, $macros) { $context["f"] = $__f__; return twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["f"], "vars", [], "any", false, false, true, 123), "eccube_form_options", [], "any", false, false, true, 123), "auto_render", [], "any", false, false, true, 123); }));
foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
// line 124
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["f"], "vars", [], "any", false, false, true, 124), "eccube_form_options", [], "any", false, false, true, 124), "form_theme", [], "any", false, false, true, 124)) {
// line 125
echo " ";
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme($context["f"], [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["f"], "vars", [], "any", false, false, true, 125), "eccube_form_options", [], "any", false, false, true, 125), "form_theme", [], "any", false, false, true, 125)], true);
// line 126
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 126, $this->source), 'row');
echo "
";
} else {
// line 128
echo " <div class=\"th\">
<div class=\"th w3\">
";
// line 130
$context["label_class"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["f"], "vars", [], "any", false, true, true, 130), "label_attr", [], "any", false, true, true, 130), "class", [], "any", true, true, true, 130)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["f"], "vars", [], "any", false, false, true, 130), "label_attr", [], "any", false, false, true, 130), "class", [], "any", false, false, true, 130)) : (""));
// line 131
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 131, $this->source), 'label', ["label_attr" => ["class" => ($this->sandbox->ensureToStringAllowed((isset($context["label_class"]) || array_key_exists("label_class", $context) ? $context["label_class"] : (function () { throw new RuntimeError('Variable "label_class" does not exist.', 131, $this->source); })()), 131, $this->source) . " ec-label")]] + (twig_test_empty($_label_ = $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["f"], "vars", [], "any", false, false, true, 131), "label", [], "any", false, false, true, 131), 131, $this->source)) ? [] : ["label" => $_label_]));
echo "
</div>
<div class=\"td w9\">
<div class=\"";
// line 134
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["f"], "vars", [], "any", false, false, true, 134), "eccube_form_options", [], "any", false, false, true, 134), "style_class", [], "any", false, false, true, 134), 134, $this->source), "html", null, true);
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed($context["f"], 134, $this->source))) ? (" error") : (""));
echo "\">
";
// line 135
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 135, $this->source), 'widget');
echo "
";
// line 136
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 136, $this->source), 'errors');
echo "
</div>
</div>
</div>
";
}
// line 141
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['f'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 142
echo " </div>
<div class=\"ec-RegisterRole__actions\">
<p class=\"btn-area one-btn\">
<button type=\"submit\" class=\"ec-blockBtn--action orange-btn\" name=\"mode\" value=\"confirm\">";
// line 145
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("確認ページへ"), "html", null, true);
echo "
</button>
</p>
</div>
</form>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Contact/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 396 => 145, 391 => 142, 385 => 141, 377 => 136, 373 => 135, 368 => 134, 361 => 131, 359 => 130, 355 => 128, 349 => 126, 346 => 125, 343 => 124, 338 => 123, 331 => 118, 327 => 117, 323 => 116, 317 => 113, 304 => 103, 300 => 102, 296 => 101, 290 => 98, 281 => 92, 277 => 91, 273 => 90, 267 => 87, 255 => 78, 251 => 77, 247 => 76, 242 => 74, 238 => 73, 234 => 72, 229 => 70, 225 => 69, 221 => 68, 216 => 66, 211 => 64, 205 => 61, 198 => 57, 194 => 56, 190 => 55, 184 => 52, 175 => 46, 171 => 45, 167 => 44, 163 => 43, 159 => 42, 153 => 39, 144 => 33, 140 => 32, 136 => 31, 132 => 30, 128 => 29, 122 => 26, 115 => 22, 110 => 20, 103 => 16, 95 => 10, 85 => 9, 74 => 6, 64 => 5, 53 => 1, 51 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'default_frame.twig' %}
{% 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 %}
<div class=\"ec-contactRole\">
<div class=\"ec-pageHeader\">
<h2 class=\"title\">お問い合わせ(入力ページ)</h2>
</div>
<div class=\"ec-contactRole__header\">
<p class=\"ec-para-normal\">{{ '内容によっては回答をさしあげるまでにお時間をいただく場合がございます。また、当社休業日の場合は翌営業日以降の対応となります。'|trans|nl2br }}</p>
<p>下記の項目にご入力ください。「<span class=\"needred\">必須</span>」印は入力必須項目です。<br />入力後、一番下の「確認ページへ」をクリックしてください。</p>
</div>
<form method=\"post\" action=\"{{ url('contact') }}\" class=\"h-adr\" novalidate>
<span class=\"p-country-name\" style=\"display:none;\">Japan</span>
{{ form_widget(form._token) }}
<div class=\"table-layout\">
<div class=\"tr\">
<div class=\"th w3\">
{{ form_label(form.name, 'お名前', { 'label_attr': { 'class': 'ec-label' }}) }}
</div>
<div class=\"td w9\">
<div class=\"ec-halfInput{{ has_errors(form.name.name01, form.name.name02) ? ' error' }}\">
{{ form_widget(form.name.name01, {'attr': { 'placeholder': '姓' }}) }}
{{ form_widget(form.name.name02, {'attr': { 'placeholder': '名' }}) }}
{{ form_errors(form.name.name01) }}
{{ form_errors(form.name.name02) }}
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
{{ form_label(form.kana, 'お名前(フリガナ)', {'label_attr': {'class': 'ec-label'}}) }}
</div>
<div class=\"td w9\">
<div class=\"ec-halfInput{{ has_errors(form.kana.kana01, form.kana.kana02) ? ' error' }}\">
{{ form_widget(form.kana.kana01, {'attr': { 'placeholder': 'セイ' }}) }}
{{ form_widget(form.kana.kana02, {'attr': { 'placeholder': 'メイ' }}) }}
{{ form_errors(form.kana.kana01) }}
{{ form_errors(form.kana.kana02) }}
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
{{ form_label(form.address, '住所', { 'label_attr': { 'class': 'ec-label' }}) }}
</div>
<div class=\"td w9\">
<div class=\"ec-zipInput{{ has_errors(form.postal_code) ? ' error' }}\">
<span>{{ '〒'|trans }}</span>
{{ form_widget(form.postal_code, { 'attr': { 'placeholder': '6048454' }}) }}
<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=\"ec-select{{ has_errors(form.address.pref) ? ' error' }}\">
{{ form_widget(form.address.pref) }}
{{ form_errors(form.address.pref) }}
</div>
<div class=\"ec-input{{ has_errors(form.address.addr01) ? ' error' }}\">
{{ form_widget(form.address.addr01, { 'attr': { 'placeholder': '市区町村名(例:京都市中京区西ノ京小堀池町)' }}) }}
{{ form_errors(form.address.addr01) }}
</div>
<div class=\"ec-input{{ has_errors(form.address.addr02) ? ' error' }}\">
{{ form_widget(form.address.addr02, { 'attr': { 'placeholder': '番地・ビル名(例:8-2)' }}) }}
{{ form_errors(form.address.addr02) }}
</div>
<div class=\"attention-area\">
<p class=\"attention\">マンション名は必ずご入力ください。</p>
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
{{ form_label(form.phone_number, '電話番号', { 'label_attr': { 'class': 'ec-label' }}) }}
</div>
<div class=\"td w9\">
<div class=\"ec-telInput{{ has_errors(form.phone_number) ? ' error' }}\">
{{ form_widget(form.phone_number) }}
{{ form_errors(form.phone_number) }}
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
{{ form_label(form.email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}
</div>
<div class=\"td w9\">
<div class=\"ec-input{{ has_errors(form.email) ? ' error' }}\">
{{ form_widget(form.email) }}
{{ form_errors(form.email) }}
</div>
<strong>【ドメイン指定受信について】</strong><br />
キャリアメールのドメイン指定受信をご利用されている方は、<br />下記ドメインメールが受信できるよう設定してください。<br />
【ドメイン名】<br />
higashiyama.co.jp
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
{{ form_label(form.contents, 'お問い合わせ内容', { 'label_attr': { 'class': 'ec-label' }}) }}
</div>
<div class=\"td w9\">
<div class=\"ec-input{{ has_errors(form.contents) ? ' error' }}\">
{{ form_widget(form.contents) }}
{{ form_errors(form.contents) }}
</div>
</div>
</div>
{# エンティティ拡張の自動出力 #}
{% for f in form|filter(f => f.vars.eccube_form_options.auto_render) %}
{% if f.vars.eccube_form_options.form_theme %}
{% form_theme f f.vars.eccube_form_options.form_theme %}
{{ form_row(f) }}
{% else %}
<div class=\"th\">
<div class=\"th w3\">
{% set label_class = f.vars.label_attr.class is defined ? f.vars.label_attr.class : '' %}
{{ form_label(f, f.vars.label, { 'label_attr': {'class': label_class ~ ' ec-label' }}) }}
</div>
<div class=\"td w9\">
<div class=\"{{ f.vars.eccube_form_options.style_class }}{{ has_errors(f) ? ' error' }}\">
{{ form_widget(f) }}
{{ form_errors(f) }}
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>
<div class=\"ec-RegisterRole__actions\">
<p class=\"btn-area one-btn\">
<button type=\"submit\" class=\"ec-blockBtn--action orange-btn\" name=\"mode\" value=\"confirm\">{{ '確認ページへ'|trans }}
</button>
</p>
</div>
</form>
</div>
{% endblock %}", "Contact/index.twig", "/home/higashiyamashobo/www/higashiyamashobo.jpn.org/ec-cube/app/template/default/Contact/index.twig");
}
public function checkSecurity()
{
static $tags = array("form_theme" => 3, "for" => 123, "if" => 124, "set" => 130);
static $filters = array("nl2br" => 16, "escape" => 16, "trans" => 16, "filter" => 123);
static $functions = array("url" => 20, "form_widget" => 22, "form_label" => 26, "has_errors" => 29, "form_errors" => 32, "asset" => 61, "form_row" => 126);
try {
$this->sandbox->checkSecurity(
['form_theme', 'for', 'if', 'set'],
['nl2br', 'escape', 'trans', 'filter'],
['url', 'form_widget', 'form_label', 'has_errors', 'form_errors', 'asset', 'form_row']
);
} 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;
}
}
}