<?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_d56f4608a7dbcce3e6a7813508bdedb0 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_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"));
$this->parent = $this->loadTemplate("default_frame.twig", "Contact/index.twig", 22);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 24
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 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_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 35
public function block_stylesheet($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
// line 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_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 52
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 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>
<dl id=\"top_box__school\">
<dt>";
// line 137
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.', 137, $this->source); })()), "school", [], "any", false, false, true, 137), 137, $this->source), 'label');
echo "</dt>
<dd>
<div class=\"form-inline form-group input_school\">
";
// line 140
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.', 140, $this->source); })()), "user", [], "any", false, false, true, 140)) {
// line 141
echo " ";
$context["brother_school_ids"] = [];
// line 142
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.', 142, $this->source); })()), "user", [], "any", false, false, true, 142), "visible_brothers", [], "any", false, false, true, 142));
foreach ($context['_seq'] as $context["_key"] => $context["brother"]) {
// line 143
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["brother"], "school", [], "any", false, false, true, 143)) {
// line 144
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.', 144, $this->source); })()), 144, $this->source), [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["brother"], "school", [], "any", false, false, true, 144), "school_id", [], "any", false, false, true, 144)]);
// line 145
echo " ";
}
// line 146
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 147
echo " <select id=\"contact_school\" name=\"contact[school]\" class=\"short form-control\">
<option value=\"\">選択してください</option>
";
// line 149
$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.', 149, $this->source); })()), "school", [], "any", false, false, true, 149), "vars", [], "any", false, false, true, 149), "choices", [], "any", false, false, true, 149));
foreach ($context['_seq'] as $context["_key"] => $context["school_data"]) {
// line 150
echo " ";
$context["school"] = twig_get_attribute($this->env, $this->source, $context["school_data"], "data", [], "any", false, false, true, 150);
// line 151
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.', 151, $this->source); })()), "visible", [], "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); })()), "school_id", [], "any", false, false, true, 152) == 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.', 152, $this->source); })()), "user", [], "any", false, false, true, 152), "school", [], "any", false, false, true, 152), "school_id", [], "any", false, false, true, 152)) || 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.', 152, $this->source); })()), "school_id", [], "any", false, false, true, 152), (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.', 152, $this->source); })())))) {
// line 153
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.', 153, $this->source); })()), "school_id", [], "any", false, false, true, 153), 153, $this->source), "html", null, true);
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))) {
echo "selected";
}
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.', 153, $this->source); })()), "school_name", [], "any", false, false, true, 153), 153, $this->source), "html", null, true);
echo "</option>
";
}
// line 155
echo " ";
}
// line 156
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 157
echo " </select>
";
} else {
// line 159
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.', 159, $this->source); })()), "school", [], "any", false, false, true, 159), 159, $this->source), 'widget');
echo "
";
}
// line 161
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.', 161, $this->source); })()), "school", [], "any", false, false, true, 161), 161, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<dl id=\"top_box__school_year\">
<dt>";
// line 166
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.', 166, $this->source); })()), "school_year", [], "any", false, false, true, 166), 166, $this->source), 'label');
echo "</dt>
<dd>
<div class=\"form-inline form-group input_school_year\">
";
// line 169
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.', 169, $this->source); })()), "school_year", [], "any", false, false, true, 169), 169, $this->source), 'widget', ["attr" => ["class" => "short"]]);
echo "
";
// line 170
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.', 170, $this->source); })()), "school_year", [], "any", false, false, true, 170), 170, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<dl id=\"top_box__school_class\">
<dt>";
// line 175
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.', 175, $this->source); })()), "school_class", [], "any", false, false, true, 175), 175, $this->source), 'label');
echo "</dt>
<dd>
<div class=\"form-inline form-group input_school_class\">
";
// line 178
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.', 178, $this->source); })()), "school_class", [], "any", false, false, true, 178), 178, $this->source), 'widget', ["attr" => ["class" => "short"]]);
echo "
";
// line 179
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.', 179, $this->source); })()), "school_class", [], "any", false, false, true, 179), 179, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<dl id=\"top_box__contents\">
<dt>";
// line 184
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.', 184, $this->source); })()), "contents", [], "any", false, false, true, 184), 184, $this->source), 'label');
echo "</dt>
<dd>
<div class=\"column\">
";
// line 187
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.', 187, $this->source); })()), "contents", [], "any", false, false, true, 187), 187, $this->source), 'widget');
echo "
";
// line 188
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.', 188, $this->source); })()), "contents", [], "any", false, false, true, 188), 188, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
</div>
<input id=\"top_box__hidden_mode\" type=\"hidden\" name=\"mode\" value=\"confirm\">
";
// line 194
$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.', 194, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
// line 195
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, 195), "name", [], "any", false, false, true, 195))) {
// line 196
echo " <div class=\"extra-form dl_table\">
";
// line 197
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 197, $this->source), 'row');
echo "
</div>
";
}
// line 200
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 201
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_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 ( 490 => 201, 484 => 200, 478 => 197, 475 => 196, 472 => 195, 468 => 194, 459 => 188, 455 => 187, 449 => 184, 441 => 179, 437 => 178, 431 => 175, 423 => 170, 419 => 169, 413 => 166, 404 => 161, 398 => 159, 394 => 157, 388 => 156, 385 => 155, 373 => 153, 370 => 152, 367 => 151, 364 => 150, 360 => 149, 356 => 147, 350 => 146, 347 => 145, 344 => 144, 341 => 143, 336 => 142, 333 => 141, 331 => 140, 325 => 137, 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>
<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\">
<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 }}\"{% if school.school_id == app.user.school.school_id %}selected{% endif %}>{{ school.school_name }}</option>
{% endif %}
{% endif %}
{% endfor %}
</select>
{% else %}
{{ form_widget(form.school) }}
{% endif %}
{{ form_errors(form.school) }}
</div>
</dd>
</dl>
<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/nmiwakim01/seifuku-kimpara.com/public_html/app/template/unishop/Contact/index.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 140, "set" => 141, "for" => 142);
static $filters = array("escape" => 92, "trans" => 92, "merge" => 144);
static $functions = array("url" => 67, "form_widget" => 68, "form_label" => 71, "form_errors" => 75, "has_errors" => 91, "asset" => 99, "form_row" => 197);
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;
}
}
}