<?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_656f8bcee32dd0eddc16738fc587691a8f6e62a7692eb46e03d4a3f8aabd2cb9 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'],
'stylesheet' => [$this, 'block_stylesheet'],
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 22
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Contact/index.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Contact/index.twig"));
$this->parent = $this->loadTemplate("default_frame.twig", "Contact/index.twig", 22);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 24
public function block_javascript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
// line 25
echo "<script src=\"//ajaxzip3.github.io/ajaxzip3.js\" charset=\"UTF-8\"></script>
<script>
\$(function() {
\$('#zip-search').click(function() {
AjaxZip3.zip2addr('contact[zip][zip01]', 'contact[zip][zip02]', 'contact[address][pref]', 'contact[address][addr01]');
});
});
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 35
public function block_stylesheet($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
// line 36
echo " <style type=\"text/css\">
.ec-zipInput, .ec-zipInputHelp, .ec-zipInputHelp .ec-zipInputHelp__icon, .ec-zipInputHelp .ec-icon{
display: inline-block;
}
.ec-zipInputHelp__icon .ec-icon img{
width: 15px;
background: #ccc;
border-radius: 100%;
margin-right: 5px;
}
#top_box__address_detail dd>div{
margin-bottom: 15px;
}
</style>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 52
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 53
echo "
<div id=\"contents\" class=\"main_only\">
<div class=\"container-fluid inner no-padding\">
<div id=\"main\">
<div class=\"complete_all\">
<h1 class=\"title_bar\">お問い合わせ</h1>
<div id=\"top_wrap\" class=\"container-fluid\">
<div id=\"top_box\" class=\"row\">
<div id=\"top_box__body\" class=\"col-md-10 col-md-offset-1\">
<p>内容によっては回答をさしあげるのにお時間をいただくこともございます。<br/>
また、休業日は翌営業日以降の対応となりますのでご了承ください。</p>
<form name=\"form1\" id=\"form1\" method=\"post\" action=\"";
// line 67
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
echo "\">
";
// 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); })()), "_token", [], "any", false, false, true, 68), 68, $this->source), 'widget');
echo "
<div id=\"top_box__body_inner\" class=\"dl_table\">
<dl id=\"top_box__name\">
<dt>";
// line 71
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.', 71, $this->source); })()), "name", [], "any", false, false, true, 71), 71, $this->source), 'label');
echo "</dt>
<dd class=\"form-group input_name\">
";
// 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); })()), "name", [], "any", false, false, true, 73), "name01", [], "any", false, false, true, 73), 73, $this->source), 'widget');
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); })()), "name", [], "any", false, false, true, 74), "name02", [], "any", false, false, true, 74), 74, $this->source), 'widget');
echo "
";
// line 75
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.', 75, $this->source); })()), "name", [], "any", false, false, true, 75), "name01", [], "any", false, false, true, 75), 75, $this->source), 'errors');
echo "
";
// line 76
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.', 76, $this->source); })()), "name", [], "any", false, false, true, 76), "name02", [], "any", false, false, true, 76), 76, $this->source), 'errors');
echo "
</dd>
</dl>
<dl id=\"top_box__kana\">
<dt>";
// line 80
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.', 80, $this->source); })()), "kana", [], "any", false, false, true, 80), 80, $this->source), 'label');
echo "</dt>
<dd class=\"form-group input_name\">
";
// line 82
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.', 82, $this->source); })()), "kana", [], "any", false, false, true, 82), "kana01", [], "any", false, false, true, 82), 82, $this->source), 'widget');
echo "
";
// line 83
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.', 83, $this->source); })()), "kana", [], "any", false, false, true, 83), "kana02", [], "any", false, false, true, 83), 83, $this->source), 'widget');
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); })()), "kana", [], "any", false, false, true, 84), "kana01", [], "any", false, false, true, 84), 84, $this->source), 'errors');
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); })()), "kana", [], "any", false, false, true, 85), "kana02", [], "any", false, false, true, 85), 85, $this->source), 'errors');
echo "
</dd>
</dl>
<dl id=\"top_box__address_detail\">
<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); })()), "address", [], "any", false, false, true, 89), 89, $this->source), 'label');
echo "</dt>
<dd>
<div class=\"ec-zipInput";
// line 91
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.', 91, $this->source); })()), "postal_code", [], "any", false, false, true, 91), 91, $this->source))) ? (" error") : (""));
echo "\">
<span>";
// line 92
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("〒"), "html", null, true);
echo "</span>
";
// line 93
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.', 93, $this->source); })()), "postal_code", [], "any", false, false, true, 93), 93, $this->source), 'widget');
echo "
";
// line 94
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.', 94, $this->source); })()), "postal_code", [], "any", false, false, true, 94), 94, $this->source), 'errors');
echo "
</div>
<div class=\"ec-zipInputHelp\">
<div class=\"ec-zipInputHelp__icon\">
<div class=\"ec-icon\"><img
src=\"";
// line 99
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 101
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("郵便番号検索"), "html", null, true);
echo "</span></a>
</div>
";
// 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); })()), "postal_code", [], "any", false, false, true, 103), 103, $this->source), 'errors');
echo "
<div class=\"ec-select";
// line 104
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.', 104, $this->source); })()), "address", [], "any", false, false, true, 104), "pref", [], "any", false, false, true, 104), 104, $this->source))) ? (" error") : (""));
echo "\">
";
// line 105
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.', 105, $this->source); })()), "address", [], "any", false, false, true, 105), "pref", [], "any", false, false, true, 105), 105, $this->source), 'widget');
echo "
";
// line 106
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.', 106, $this->source); })()), "address", [], "any", false, false, true, 106), "pref", [], "any", false, false, true, 106), 106, $this->source), 'errors');
echo "
</div>
<div class=\"ec-input";
// line 108
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.', 108, $this->source); })()), "address", [], "any", false, false, true, 108), "addr01", [], "any", false, false, true, 108), 108, $this->source))) ? (" error") : (""));
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); })()), "address", [], "any", false, false, true, 109), "addr01", [], "any", false, false, true, 109), 109, $this->source), 'widget', ["attr" => ["placeholder" => "市区町村名(例:大阪市北区)"]]);
echo "
";
// line 110
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.', 110, $this->source); })()), "address", [], "any", false, false, true, 110), "addr01", [], "any", false, false, true, 110), 110, $this->source), 'errors');
echo "
</div>
<div class=\"ec-input";
// line 112
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.', 112, $this->source); })()), "address", [], "any", false, false, true, 112), "addr02", [], "any", false, false, true, 112), 112, $this->source))) ? (" error") : (""));
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); })()), "address", [], "any", false, false, true, 113), "addr02", [], "any", false, false, true, 113), 113, $this->source), 'widget', ["attr" => ["placeholder" => "番地・ビル名(例:西梅田1丁目6-8)"]]);
echo "
";
// line 114
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.', 114, $this->source); })()), "address", [], "any", false, false, true, 114), "addr02", [], "any", false, false, true, 114), 114, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<dl id=\"top_box__tel\">
<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); })()), "phone_number", [], "any", false, false, true, 119), 119, $this->source), 'label');
echo "</dt>
<dd>
<div class=\"form-inline form-group input_tel\">
";
// 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); })()), "phone_number", [], "any", false, false, true, 122), 122, $this->source), 'widget', ["attr" => ["class" => "short"]]);
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); })()), "phone_number", [], "any", false, false, true, 123), 123, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<dl id=\"top_box__email\">
<dt>";
// line 128
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.', 128, $this->source); })()), "email", [], "any", false, false, true, 128), 128, $this->source), 'label');
echo "</dt>
<dd>
<div class=\"form-group\">
";
// line 131
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.', 131, $this->source); })()), "email", [], "any", false, false, true, 131), 131, $this->source), 'widget');
echo "
";
// line 132
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.', 132, $this->source); })()), "email", [], "any", false, false, true, 132), 132, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
";
// line 136
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "school", [], "any", true, true, true, 136)) {
// line 137
echo " <dl id=\"top_box__school\">
<dt>";
// line 138
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.', 138, $this->source); })()), "school", [], "any", false, false, true, 138), 138, $this->source), 'label');
echo "</dt>
<dd>
<div class=\"form-inline form-group input_school\">
";
// line 141
if (twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 141, $this->source); })()), "user", [], "any", false, false, true, 141)) {
// line 142
echo " ";
$context["brother_school_ids"] = [];
// line 143
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 143, $this->source); })()), "user", [], "any", false, false, true, 143), "visible_brothers", [], "any", false, false, true, 143));
foreach ($context['_seq'] as $context["_key"] => $context["brother"]) {
// line 144
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["brother"], "school", [], "any", false, false, true, 144)) {
// line 145
echo " ";
$context["brother_school_ids"] = twig_array_merge($this->sandbox->ensureToStringAllowed((isset($context["brother_school_ids"]) || array_key_exists("brother_school_ids", $context) ? $context["brother_school_ids"] : (function () { throw new RuntimeError('Variable "brother_school_ids" does not exist.', 145, $this->source); })()), 145, $this->source), [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["brother"], "school", [], "any", false, false, true, 145), "school_id", [], "any", false, false, true, 145)]);
// line 146
echo " ";
}
// line 147
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['brother'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 148
echo " <select id=\"contact_school\" name=\"contact[school]\" class=\"short form-control\"";
echo ((twig_get_attribute($this->env, $this->source, 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); })()), "school", [], "any", false, false, true, 148), "vars", [], "any", false, false, true, 148), "required", [], "any", false, false, true, 148)) ? (" required=\"required\"") : (""));
echo ">
<option value=\"\">選択してください</option>
";
// line 150
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 150, $this->source); })()), "school", [], "any", false, false, true, 150), "vars", [], "any", false, false, true, 150), "choices", [], "any", false, false, true, 150));
foreach ($context['_seq'] as $context["_key"] => $context["school_data"]) {
// line 151
echo " ";
$context["school"] = twig_get_attribute($this->env, $this->source, $context["school_data"], "data", [], "any", false, false, true, 151);
// line 152
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["school"]) || array_key_exists("school", $context) ? $context["school"] : (function () { throw new RuntimeError('Variable "school" does not exist.', 152, $this->source); })()), "visible", [], "any", false, false, true, 152)) {
// line 153
echo " ";
if (((twig_get_attribute($this->env, $this->source, (isset($context["school"]) || array_key_exists("school", $context) ? $context["school"] : (function () { throw new RuntimeError('Variable "school" does not exist.', 153, $this->source); })()), "school_id", [], "any", false, false, true, 153) == twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 153, $this->source); })()), "user", [], "any", false, false, true, 153), "school", [], "any", false, false, true, 153), "school_id", [], "any", false, false, true, 153)) || twig_in_filter(twig_get_attribute($this->env, $this->source, (isset($context["school"]) || array_key_exists("school", $context) ? $context["school"] : (function () { throw new RuntimeError('Variable "school" does not exist.', 153, $this->source); })()), "school_id", [], "any", false, false, true, 153), (isset($context["brother_school_ids"]) || array_key_exists("brother_school_ids", $context) ? $context["brother_school_ids"] : (function () { throw new RuntimeError('Variable "brother_school_ids" does not exist.', 153, $this->source); })())))) {
// line 154
echo " <option value=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["school"]) || array_key_exists("school", $context) ? $context["school"] : (function () { throw new RuntimeError('Variable "school" does not exist.', 154, $this->source); })()), "school_id", [], "any", false, false, true, 154), 154, $this->source), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["school"]) || array_key_exists("school", $context) ? $context["school"] : (function () { throw new RuntimeError('Variable "school" does not exist.', 154, $this->source); })()), "school_name", [], "any", false, false, true, 154), 154, $this->source), "html", null, true);
echo "</option>
";
}
// line 156
echo " ";
}
// line 157
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['school_data'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 158
echo " </select>
";
} else {
// line 160
echo " ";
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); })()), "school", [], "any", false, false, true, 160), 160, $this->source), 'widget');
echo "
";
}
// line 162
echo " ";
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.', 162, $this->source); })()), "school", [], "any", false, false, true, 162), 162, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
";
}
// line 167
echo " <dl id=\"top_box__school_year\">
<dt>";
// line 168
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.', 168, $this->source); })()), "school_year", [], "any", false, false, true, 168), 168, $this->source), 'label');
echo "</dt>
<dd>
<div class=\"form-inline form-group input_school_year\">
";
// 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); })()), "school_year", [], "any", false, false, true, 171), 171, $this->source), 'widget', ["attr" => ["class" => "short"]]);
echo "
";
// line 172
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.', 172, $this->source); })()), "school_year", [], "any", false, false, true, 172), 172, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<dl id=\"top_box__school_class\">
<dt>";
// line 177
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.', 177, $this->source); })()), "school_class", [], "any", false, false, true, 177), 177, $this->source), 'label');
echo "</dt>
<dd>
<div class=\"form-inline form-group input_school_class\">
";
// line 180
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.', 180, $this->source); })()), "school_class", [], "any", false, false, true, 180), 180, $this->source), 'widget', ["attr" => ["class" => "short"]]);
echo "
";
// line 181
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.', 181, $this->source); })()), "school_class", [], "any", false, false, true, 181), 181, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<dl id=\"top_box__contents\">
<dt>";
// line 186
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.', 186, $this->source); })()), "contents", [], "any", false, false, true, 186), 186, $this->source), 'label');
echo "</dt>
<dd>
<div class=\"column\">
";
// line 189
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.', 189, $this->source); })()), "contents", [], "any", false, false, true, 189), 189, $this->source), 'widget');
echo "
";
// line 190
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.', 190, $this->source); })()), "contents", [], "any", false, false, true, 190), 190, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
</div>
<input id=\"top_box__hidden_mode\" type=\"hidden\" name=\"mode\" value=\"confirm\">
";
// line 196
$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.', 196, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
// line 197
echo " ";
if (preg_match("[^plg*]", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["f"], "vars", [], "any", false, false, true, 197), "name", [], "any", false, false, true, 197))) {
// line 198
echo " <div class=\"extra-form dl_table\">
";
// line 199
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 199, $this->source), 'row');
echo "
</div>
";
}
// line 202
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 203
echo " <div id=\"top_box__footer\" class=\"row no-padding\">
<div id=\"top_box__confirm_button\" class=\"btn_group col-sm-offset-4 col-sm-4\">
<p><button type=\"submit\" class=\"def_button3\">確認ページへ</button></p>
</div>
</div>
</form>
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</div>
</div>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "Contact/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 495 => 203, 489 => 202, 483 => 199, 480 => 198, 477 => 197, 473 => 196, 464 => 190, 460 => 189, 454 => 186, 446 => 181, 442 => 180, 436 => 177, 428 => 172, 424 => 171, 418 => 168, 415 => 167, 406 => 162, 400 => 160, 396 => 158, 390 => 157, 387 => 156, 379 => 154, 376 => 153, 373 => 152, 370 => 151, 366 => 150, 360 => 148, 354 => 147, 351 => 146, 348 => 145, 345 => 144, 340 => 143, 337 => 142, 335 => 141, 329 => 138, 326 => 137, 324 => 136, 317 => 132, 313 => 131, 307 => 128, 299 => 123, 295 => 122, 289 => 119, 281 => 114, 277 => 113, 273 => 112, 268 => 110, 264 => 109, 260 => 108, 255 => 106, 251 => 105, 247 => 104, 243 => 103, 238 => 101, 233 => 99, 225 => 94, 221 => 93, 217 => 92, 213 => 91, 208 => 89, 201 => 85, 197 => 84, 193 => 83, 189 => 82, 184 => 80, 177 => 76, 173 => 75, 169 => 74, 165 => 73, 160 => 71, 154 => 68, 150 => 67, 134 => 53, 124 => 52, 100 => 36, 90 => 35, 72 => 25, 62 => 24, 39 => 22,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE
Copyright(c) 2000-2015 LOCKON CO.,LTD. All Rights Reserved.
http://www.lockon.co.jp/
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#}
{% extends 'default_frame.twig' %}
{% block javascript %}
<script src=\"//ajaxzip3.github.io/ajaxzip3.js\" charset=\"UTF-8\"></script>
<script>
\$(function() {
\$('#zip-search').click(function() {
AjaxZip3.zip2addr('contact[zip][zip01]', 'contact[zip][zip02]', 'contact[address][pref]', 'contact[address][addr01]');
});
});
</script>
{% endblock javascript %}
{% block stylesheet %}
<style type=\"text/css\">
.ec-zipInput, .ec-zipInputHelp, .ec-zipInputHelp .ec-zipInputHelp__icon, .ec-zipInputHelp .ec-icon{
display: inline-block;
}
.ec-zipInputHelp__icon .ec-icon img{
width: 15px;
background: #ccc;
border-radius: 100%;
margin-right: 5px;
}
#top_box__address_detail dd>div{
margin-bottom: 15px;
}
</style>
{% endblock %}
{% block main %}
<div id=\"contents\" class=\"main_only\">
<div class=\"container-fluid inner no-padding\">
<div id=\"main\">
<div class=\"complete_all\">
<h1 class=\"title_bar\">お問い合わせ</h1>
<div id=\"top_wrap\" class=\"container-fluid\">
<div id=\"top_box\" class=\"row\">
<div id=\"top_box__body\" class=\"col-md-10 col-md-offset-1\">
<p>内容によっては回答をさしあげるのにお時間をいただくこともございます。<br/>
また、休業日は翌営業日以降の対応となりますのでご了承ください。</p>
<form name=\"form1\" id=\"form1\" method=\"post\" action=\"{{ url('contact') }}\">
{{ form_widget(form._token) }}
<div id=\"top_box__body_inner\" class=\"dl_table\">
<dl id=\"top_box__name\">
<dt>{{ form_label(form.name) }}</dt>
<dd class=\"form-group input_name\">
{{ form_widget(form.name.name01) }}
{{ form_widget(form.name.name02) }}
{{ form_errors(form.name.name01) }}
{{ form_errors(form.name.name02) }}
</dd>
</dl>
<dl id=\"top_box__kana\">
<dt>{{ form_label(form.kana) }}</dt>
<dd class=\"form-group input_name\">
{{ form_widget(form.kana.kana01) }}
{{ form_widget(form.kana.kana02) }}
{{ form_errors(form.kana.kana01) }}
{{ form_errors(form.kana.kana02) }}
</dd>
</dl>
<dl id=\"top_box__address_detail\">
<dt>{{ form_label(form.address) }}</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 id=\"top_box__tel\">
<dt>{{ form_label(form.phone_number) }}</dt>
<dd>
<div class=\"form-inline form-group input_tel\">
{{ form_widget(form.phone_number, {attr : {class : 'short'}}) }}
{{ form_errors(form.phone_number) }}
</div>
</dd>
</dl>
<dl id=\"top_box__email\">
<dt>{{ form_label(form.email) }}</dt>
<dd>
<div class=\"form-group\">
{{ form_widget(form.email) }}
{{ form_errors(form.email) }}
</div>
</dd>
</dl>
{% if form.school is defined %}
<dl id=\"top_box__school\">
<dt>{{ form_label(form.school) }}</dt>
<dd>
<div class=\"form-inline form-group input_school\">
{% if app.user %}
{% set brother_school_ids = [] %}
{% for brother in app.user.visible_brothers %}
{% if brother.school %}
{% set brother_school_ids = brother_school_ids|merge([brother.school.school_id]) %}
{% endif %}
{% endfor %}
<select id=\"contact_school\" name=\"contact[school]\" class=\"short form-control\"{{ form.school.vars.required ? ' required=\"required\"' : '' }}>
<option value=\"\">選択してください</option>
{% for school_data in form.school.vars.choices %}
{% set school = school_data.data %}
{% if school.visible %}
{% if school.school_id == app.user.school.school_id or school.school_id in brother_school_ids %}
<option value=\"{{ school.school_id }}\">{{ school.school_name }}</option>
{% endif %}
{% endif %}
{% endfor %}
</select>
{% else %}
{{ form_widget(form.school) }}
{% endif %}
{{ form_errors(form.school) }}
</div>
</dd>
</dl>
{% endif %}
<dl id=\"top_box__school_year\">
<dt>{{ form_label(form.school_year) }}</dt>
<dd>
<div class=\"form-inline form-group input_school_year\">
{{ form_widget(form.school_year, {attr : {class : 'short'}}) }}
{{ form_errors(form.school_year) }}
</div>
</dd>
</dl>
<dl id=\"top_box__school_class\">
<dt>{{ form_label(form.school_class) }}</dt>
<dd>
<div class=\"form-inline form-group input_school_class\">
{{ form_widget(form.school_class, {attr : {class : 'short'}}) }}
{{ form_errors(form.school_class) }}
</div>
</dd>
</dl>
<dl id=\"top_box__contents\">
<dt>{{ form_label(form.contents) }}</dt>
<dd>
<div class=\"column\">
{{ form_widget(form.contents) }}
{{ form_errors(form.contents) }}
</div>
</dd>
</dl>
</div>
<input id=\"top_box__hidden_mode\" type=\"hidden\" name=\"mode\" value=\"confirm\">
{% for f in form %}
{% if f.vars.name matches '[^plg*]' %}
<div class=\"extra-form dl_table\">
{{ form_row(f) }}
</div>
{% endif %}
{% endfor %}
<div id=\"top_box__footer\" class=\"row no-padding\">
<div id=\"top_box__confirm_button\" class=\"btn_group col-sm-offset-4 col-sm-4\">
<p><button type=\"submit\" class=\"def_button3\">確認ページへ</button></p>
</div>
</div>
</form>
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</div>
</div>
</div>
</div>
</div>
{% endblock %}", "Contact/index.twig", "/home/nmtokyolad01/tokyoladies-onlinestore.com/public_html/app/template/unishop/Contact/index.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 136, "set" => 142, "for" => 143);
static $filters = array("escape" => 92, "trans" => 92, "merge" => 145);
static $functions = array("url" => 67, "form_widget" => 68, "form_label" => 71, "form_errors" => 75, "has_errors" => 91, "asset" => 99, "form_row" => 199);
try {
$this->sandbox->checkSecurity(
['if', 'set', 'for'],
['escape', 'trans', 'merge'],
['url', 'form_widget', 'form_label', 'form_errors', 'has_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;
}
}
}