<?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_c1a37f98a445d5eb80390534bc7b382a 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", "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 13
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 13, $this->source); })()), [0 => "Form/form_div_layout.twig"], true);
// line 11
$this->parent = $this->loadTemplate("default_frame.twig", "Contact/index.twig", 11);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 15
public function block_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 16
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 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 "
<div class=\"ec-contactRole\">
<div class=\"ec-pageHeader\">
<h1>";
// line 23
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お問い合わせ"), "html", null, true);
echo "</h1>
</div>
<div class=\"ec-off1Grid\">
<div class=\"ec-off1Grid__cell\">
<form method=\"post\" action=\"";
// line 27
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 29
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.', 29, $this->source); })()), "_token", [], "any", false, false, true, 29), 29, $this->source), 'widget');
echo "
<p class=\"ec-para-normal\">";
// line 30
echo twig_nl2br(twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("内容によっては回答をさしあげるのにお時間をいただくこともございます。
また、休業日は翌営業日以降の対応となりますのでご了承ください。
"), "html", null, true));
// line 32
echo "</p>
<p>以下のフォームの項目を入力し、よろしければ「確認画面へ」ボタンをクリックしてお進みください。</p>
<div class=\"ec-borderedDefs\">
<dl>
<dt>
";
// line 37
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.', 37, $this->source); })()), "name", [], "any", false, false, true, 37), 37, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前"]);
echo "
</dt>
<dd>
<div class=\"ec-halfInput";
// line 40
echo (($this->extensions['Customize\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.', 40, $this->source); })()), "name", [], "any", false, false, true, 40), "name01", [], "any", false, false, true, 40), 40, $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.', 40, $this->source); })()), "name", [], "any", false, false, true, 40), "name02", [], "any", false, false, true, 40), 40, $this->source))) ? (" error") : (""));
echo "\">
";
// line 41
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.', 41, $this->source); })()), "name", [], "any", false, false, true, 41), "name01", [], "any", false, false, true, 41), 41, $this->source), 'widget', ["attr" => ["placeholder" => "姓"]]);
echo "
";
// line 42
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.', 42, $this->source); })()), "name", [], "any", false, false, true, 42), "name02", [], "any", false, false, true, 42), 42, $this->source), 'widget', ["attr" => ["placeholder" => "名"]]);
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); })()), "name", [], "any", false, false, true, 43), "name01", [], "any", false, false, true, 43), 43, $this->source), 'errors');
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); })()), "name", [], "any", false, false, true, 44), "name02", [], "any", false, false, true, 44), 44, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<dl>
<dt>
";
// line 50
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.', 50, $this->source); })()), "kana", [], "any", false, false, true, 50), 50, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前(カナ)"]);
echo "
</dt>
<dd>
<div class=\"ec-halfInput";
// line 53
echo (($this->extensions['Customize\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.', 53, $this->source); })()), "kana", [], "any", false, false, true, 53), "kana01", [], "any", false, false, true, 53), 53, $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.', 53, $this->source); })()), "kana", [], "any", false, false, true, 53), "kana02", [], "any", false, false, true, 53), 53, $this->source))) ? (" error") : (""));
echo "\">
";
// line 54
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.', 54, $this->source); })()), "kana", [], "any", false, false, true, 54), "kana01", [], "any", false, false, true, 54), 54, $this->source), 'widget', ["attr" => ["placeholder" => "セイ"]]);
echo "
";
// line 55
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.', 55, $this->source); })()), "kana", [], "any", false, false, true, 55), "kana02", [], "any", false, false, true, 55), 55, $this->source), 'widget', ["attr" => ["placeholder" => "メイ"]]);
echo "
";
// line 56
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.', 56, $this->source); })()), "kana", [], "any", false, false, true, 56), "kana01", [], "any", false, false, true, 56), 56, $this->source), 'errors');
echo "
";
// line 57
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.', 57, $this->source); })()), "kana", [], "any", false, false, true, 57), "kana02", [], "any", false, false, true, 57), 57, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<dl>
<dt>
";
// line 63
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.', 63, $this->source); })()), "address", [], "any", false, false, true, 63), 63, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "住所"]);
echo "
</dt>
<dd>
<div class=\"ec-zipInput";
// line 66
echo (($this->extensions['Customize\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.', 66, $this->source); })()), "postal_code", [], "any", false, false, true, 66), 66, $this->source))) ? (" error") : (""));
echo "\">
<span>";
// line 67
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("〒"), "html", null, true);
echo "</span>
";
// line 68
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.', 68, $this->source); })()), "postal_code", [], "any", false, false, true, 68), 68, $this->source), 'widget');
echo "
";
// line 69
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.', 69, $this->source); })()), "postal_code", [], "any", false, false, true, 69), 69, $this->source), 'errors');
echo "
</div>
<div class=\"ec-zipInputHelp\">
<div class=\"ec-zipInputHelp__icon\">
<div class=\"ec-icon\"><img
src=\"";
// line 74
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 76
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("郵便番号検索"), "html", null, true);
echo "</span></a>
</div>
";
// line 78
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.', 78, $this->source); })()), "postal_code", [], "any", false, false, true, 78), 78, $this->source), 'errors');
echo "
<div class=\"ec-select";
// line 79
echo (($this->extensions['Customize\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.', 79, $this->source); })()), "address", [], "any", false, false, true, 79), "pref", [], "any", false, false, true, 79), 79, $this->source))) ? (" error") : (""));
echo "\">
";
// line 80
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.', 80, $this->source); })()), "address", [], "any", false, false, true, 80), "pref", [], "any", false, false, true, 80), 80, $this->source), 'widget');
echo "
";
// line 81
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.', 81, $this->source); })()), "address", [], "any", false, false, true, 81), "pref", [], "any", false, false, true, 81), 81, $this->source), 'errors');
echo "
</div>
<div class=\"ec-input";
// line 83
echo (($this->extensions['Customize\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.', 83, $this->source); })()), "address", [], "any", false, false, true, 83), "addr01", [], "any", false, false, true, 83), 83, $this->source))) ? (" error") : (""));
echo "\">
";
// line 84
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.', 84, $this->source); })()), "address", [], "any", false, false, true, 84), "addr01", [], "any", false, false, true, 84), 84, $this->source), 'widget', ["attr" => ["placeholder" => "市区町村名(例:大阪市北区)"]]);
echo "
";
// line 85
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.', 85, $this->source); })()), "address", [], "any", false, false, true, 85), "addr01", [], "any", false, false, true, 85), 85, $this->source), 'errors');
echo "
</div>
<div class=\"ec-input";
// line 87
echo (($this->extensions['Customize\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.', 87, $this->source); })()), "address", [], "any", false, false, true, 87), "addr02", [], "any", false, false, true, 87), 87, $this->source))) ? (" error") : (""));
echo "\">
";
// line 88
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.', 88, $this->source); })()), "address", [], "any", false, false, true, 88), "addr02", [], "any", false, false, true, 88), 88, $this->source), 'widget', ["attr" => ["placeholder" => "番地・ビル名(例:西梅田1丁目6-8)"]]);
echo "
";
// line 89
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.', 89, $this->source); })()), "address", [], "any", false, false, true, 89), "addr02", [], "any", false, false, true, 89), 89, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<dl>
<dt>
";
// line 95
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.', 95, $this->source); })()), "phone_number", [], "any", false, false, true, 95), 95, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "電話番号"]);
echo "
</dt>
<dd>
<div class=\"ec-telInput";
// line 98
echo (($this->extensions['Customize\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.', 98, $this->source); })()), "phone_number", [], "any", false, false, true, 98), 98, $this->source))) ? (" error") : (""));
echo "\">
";
// line 99
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.', 99, $this->source); })()), "phone_number", [], "any", false, false, true, 99), 99, $this->source), 'widget');
echo "
";
// line 100
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.', 100, $this->source); })()), "phone_number", [], "any", false, false, true, 100), 100, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<dl>
<dt>
";
// line 106
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.', 106, $this->source); })()), "email", [], "any", false, false, true, 106), 106, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "メールアドレス"]);
echo "
</dt>
<dd>
<div class=\"ec-input";
// line 109
echo (($this->extensions['Customize\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.', 109, $this->source); })()), "email", [], "any", false, false, true, 109), 109, $this->source))) ? (" error") : (""));
echo "\">
";
// line 110
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.', 110, $this->source); })()), "email", [], "any", false, false, true, 110), 110, $this->source), 'widget');
echo "
";
// line 111
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.', 111, $this->source); })()), "email", [], "any", false, false, true, 111), 111, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<dl>
<dt>
";
// 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); })()), "email", [], "any", false, false, true, 117), 117, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お問い合わせ内容"]);
echo "
</dt>
<dd>
<div class=\"ec-input";
// line 120
echo (($this->extensions['Customize\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.', 120, $this->source); })()), "contents", [], "any", false, false, true, 120), 120, $this->source))) ? (" error") : (""));
echo "\">
";
// line 121
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.', 121, $this->source); })()), "contents", [], "any", false, false, true, 121), 121, $this->source), 'widget');
echo "
";
// line 122
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.', 122, $this->source); })()), "contents", [], "any", false, false, true, 122), 122, $this->source), 'errors');
echo "
</div>
<p>";
// line 124
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご購入済の商品に関するお問い合わせには、必ずお買上げ明細書(納品書)に記された「ご注文管理番号」をご記入くださいますようお願いいたします。"), "html", null, true);
echo "</p>
</dd>
</dl>
";
// line 128
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 128, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
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, 128), "eccube_form_options", [], "any", false, false, true, 128), "auto_render", [], "any", false, false, true, 128)) {
// line 129
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, 129), "eccube_form_options", [], "any", false, false, true, 129), "form_theme", [], "any", false, false, true, 129)) {
// line 130
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, 130), "eccube_form_options", [], "any", false, false, true, 130), "form_theme", [], "any", false, false, true, 130)], true);
// line 131
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 131, $this->source), 'row');
echo "
";
} else {
// line 133
echo " <dl>
<dt>
";
// line 135
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 135, $this->source), 'label');
echo "
</dt>
<dd>
<div class=\"";
// line 138
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, 138), "eccube_form_options", [], "any", false, false, true, 138), "style_class", [], "any", false, false, true, 138), 138, $this->source), "html", null, true);
echo (($this->extensions['Customize\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed($context["f"], 138, $this->source))) ? (" error") : (""));
echo "\">
";
// line 139
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 139, $this->source), 'widget');
echo "
";
// line 140
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 140, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
";
}
// line 145
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 146
echo " </div>
<div>
<div class=\"ec-heading-bold\"><p>個人情報保護ポリシー</p></div>
<div style=\"height:20em;overflow-y:scroll;margin:0 0 2em;border:1px solid #DDD;\">
";
// line 151
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/privacy.twig");
echo "
</div>
</div>
<div class=\"ec-RegisterRole__actions\">
<div class=\"ec-off4Grid\">
<div class=\"ec-off4Grid__cell\">
<button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">";
// line 158
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("確認ページへ"), "html", null, true);
echo "
</button>
</div>
</div>
</div>
</form>
</div>
</div>
</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 ( 412 => 158, 402 => 151, 395 => 146, 388 => 145, 380 => 140, 376 => 139, 371 => 138, 365 => 135, 361 => 133, 355 => 131, 352 => 130, 349 => 129, 343 => 128, 337 => 124, 332 => 122, 328 => 121, 324 => 120, 318 => 117, 309 => 111, 305 => 110, 301 => 109, 295 => 106, 286 => 100, 282 => 99, 278 => 98, 272 => 95, 263 => 89, 259 => 88, 255 => 87, 250 => 85, 246 => 84, 242 => 83, 237 => 81, 233 => 80, 229 => 79, 225 => 78, 220 => 76, 215 => 74, 207 => 69, 203 => 68, 199 => 67, 195 => 66, 189 => 63, 180 => 57, 176 => 56, 172 => 55, 168 => 54, 164 => 53, 158 => 50, 149 => 44, 145 => 43, 141 => 42, 137 => 41, 133 => 40, 127 => 37, 120 => 32, 116 => 30, 112 => 29, 107 => 27, 100 => 23, 95 => 20, 85 => 19, 74 => 16, 64 => 15, 53 => 11, 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' %}
{% 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\">
<h1>{{ 'お問い合わせ'|trans }}</h1>
</div>
<div class=\"ec-off1Grid\">
<div class=\"ec-off1Grid__cell\">
<form method=\"post\" action=\"{{ url('contact') }}\" class=\"h-adr\" novalidate>
<span class=\"p-country-name\" style=\"display:none;\">Japan</span>
{{ form_widget(form._token) }}
<p class=\"ec-para-normal\">{{ '内容によっては回答をさしあげるのにお時間をいただくこともございます。
また、休業日は翌営業日以降の対応となりますのでご了承ください。
'|trans|nl2br }}</p>
<p>以下のフォームの項目を入力し、よろしければ「確認画面へ」ボタンをクリックしてお進みください。</p>
<div class=\"ec-borderedDefs\">
<dl>
<dt>
{{ form_label(form.name, 'お名前', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<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>
</dd>
</dl>
<dl>
<dt>
{{ form_label(form.kana, 'お名前(カナ)', {'label_attr': {'class': 'ec-label'}}) }}
</dt>
<dd>
<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>
</dd>
</dl>
<dl>
<dt>
{{ form_label(form.address, '住所', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"ec-zipInput{{ has_errors(form.postal_code) ? ' error' }}\">
<span>{{ '〒'|trans }}</span>
{{ form_widget(form.postal_code) }}
{{ form_errors(form.postal_code) }}
</div>
<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 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': '番地・ビル名(例:西梅田1丁目6-8)' }}) }}
{{ form_errors(form.address.addr02) }}
</div>
</dd>
</dl>
<dl>
<dt>
{{ form_label(form.phone_number, '電話番号', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"ec-telInput{{ has_errors(form.phone_number) ? ' error' }}\">
{{ form_widget(form.phone_number) }}
{{ form_errors(form.phone_number) }}
</div>
</dd>
</dl>
<dl>
<dt>
{{ form_label(form.email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"ec-input{{ has_errors(form.email) ? ' error' }}\">
{{ form_widget(form.email) }}
{{ form_errors(form.email) }}
</div>
</dd>
</dl>
<dl>
<dt>
{{ form_label(form.email, 'お問い合わせ内容', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"ec-input{{ has_errors(form.contents) ? ' error' }}\">
{{ form_widget(form.contents) }}
{{ form_errors(form.contents) }}
</div>
<p>{{ 'ご購入済の商品に関するお問い合わせには、必ずお買上げ明細書(納品書)に記された「ご注文管理番号」をご記入くださいますようお願いいたします。'|trans }}</p>
</dd>
</dl>
{# エンティティ拡張の自動出力 #}
{% for f in form if 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 %}
<dl>
<dt>
{{ form_label(f) }}
</dt>
<dd>
<div class=\"{{ f.vars.eccube_form_options.style_class }}{{ has_errors(f) ? ' error' }}\">
{{ form_widget(f) }}
{{ form_errors(f) }}
</div>
</dd>
</dl>
{% endif %}
{% endfor %}
</div>
<div>
<div class=\"ec-heading-bold\"><p>個人情報保護ポリシー</p></div>
<div style=\"height:20em;overflow-y:scroll;margin:0 0 2em;border:1px solid #DDD;\">
{{ include('Block/privacy.twig') }}
</div>
</div>
<div class=\"ec-RegisterRole__actions\">
<div class=\"ec-off4Grid\">
<div class=\"ec-off4Grid__cell\">
<button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">{{ '確認ページへ'|trans }}
</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
{% endblock %}", "Contact/index.twig", "/home/dober/testman.biz/public_html/yamaria-ec-demo/app/template/yamaria/Contact/index.twig");
}
public function checkSecurity()
{
static $tags = array("form_theme" => 13, "for" => 128, "if" => 129);
static $filters = array("escape" => 23, "trans" => 23, "nl2br" => 32);
static $functions = array("url" => 27, "form_widget" => 29, "form_label" => 37, "has_errors" => 40, "form_errors" => 43, "asset" => 74, "form_row" => 131, "include" => 151);
try {
$this->sandbox->checkSecurity(
['form_theme', 'for', 'if'],
['escape', 'trans', 'nl2br'],
['url', 'form_widget', 'form_label', 'has_errors', 'form_errors', 'asset', 'form_row', 'include']
);
} 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;
}
}
}