<?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;
/* SampleMagazine/index.twig */
class __TwigTemplate_0f3b286d0265860e1b2b67fbef841ca1 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'javascript' => [$this, 'block_javascript'],
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "SampleMagazine/index.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "SampleMagazine/index.twig"));
// line 3
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 3, $this->source); })()), [0 => "Form/form_div_layout.twig"], true);
// line 1
$this->parent = $this->loadTemplate("default_frame.twig", "SampleMagazine/index.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 5
public function block_javascript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
// line 6
echo " <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 9
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 10
echo "
<div class=\"ec-contactRole\">
<div class=\"ec-pageHeader\">
<h2 class=\"title\">";
// line 13
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("健康教室「見本誌」申込み(入力ページ)"), "html", null, true);
echo "</h2>
</div>
<div class=\"ec-contactRole__header\">
<p class=\"ec-para-normal\">";
// line 16
echo twig_nl2br(twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("見本誌は無料でお届けいたします。見本誌(月号)の指定はできません。
休業日は翌営業日以降の対応となりますのでご了承ください。
"), "html", null, true));
// line 18
echo "</p>
</div>
<form method=\"post\" action=\"";
// line 20
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("apply_for_sample_magazine");
echo "\" class=\"h-adr\" novalidate>
<span class=\"p-country-name\" style=\"display:none;\">Japan</span>
";
// line 22
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 22, $this->source); })()), "_token", [], "any", false, false, true, 22), 22, $this->source), 'widget');
echo "
<div class=\"ec-borderedDefs table-layout\">
<div class=\"tr\">
<div class=\"th w3\">
";
// line 26
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 26, $this->source); })()), "name", [], "any", false, false, true, 26), 26, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前"]);
echo "
</div>
<div class=\"td w9\">
<div class=\"ec-halfInput";
// line 29
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 29, $this->source); })()), "name", [], "any", false, false, true, 29), "name01", [], "any", false, false, true, 29), 29, $this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 29, $this->source); })()), "name", [], "any", false, false, true, 29), "name02", [], "any", false, false, true, 29), 29, $this->source))) ? (" error") : (""));
echo "\">
";
// line 30
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 30, $this->source); })()), "name", [], "any", false, false, true, 30), "name01", [], "any", false, false, true, 30), 30, $this->source), 'widget', ["attr" => ["placeholder" => "姓"]]);
echo "
";
// line 31
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 31, $this->source); })()), "name", [], "any", false, false, true, 31), "name02", [], "any", false, false, true, 31), 31, $this->source), 'widget', ["attr" => ["placeholder" => "名"]]);
echo "
";
// line 32
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 32, $this->source); })()), "name", [], "any", false, false, true, 32), "name01", [], "any", false, false, true, 32), 32, $this->source), 'errors');
echo "
";
// line 33
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 33, $this->source); })()), "name", [], "any", false, false, true, 33), "name02", [], "any", false, false, true, 33), 33, $this->source), 'errors');
echo "
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
";
// line 39
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 39, $this->source); })()), "kana", [], "any", false, false, true, 39), 39, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前(カナ)"]);
echo "
</div>
<div class=\"td w9\">
<div class=\"ec-halfInput";
// line 42
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 42, $this->source); })()), "kana", [], "any", false, false, true, 42), "kana01", [], "any", false, false, true, 42), 42, $this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 42, $this->source); })()), "kana", [], "any", false, false, true, 42), "kana02", [], "any", false, false, true, 42), 42, $this->source))) ? (" error") : (""));
echo "\">
";
// line 43
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 43, $this->source); })()), "kana", [], "any", false, false, true, 43), "kana01", [], "any", false, false, true, 43), 43, $this->source), 'widget', ["attr" => ["placeholder" => "セイ"]]);
echo "
";
// line 44
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 44, $this->source); })()), "kana", [], "any", false, false, true, 44), "kana02", [], "any", false, false, true, 44), 44, $this->source), 'widget', ["attr" => ["placeholder" => "メイ"]]);
echo "
";
// line 45
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 45, $this->source); })()), "kana", [], "any", false, false, true, 45), "kana01", [], "any", false, false, true, 45), 45, $this->source), 'errors');
echo "
";
// line 46
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 46, $this->source); })()), "kana", [], "any", false, false, true, 46), "kana02", [], "any", false, false, true, 46), 46, $this->source), 'errors');
echo "
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
";
// line 52
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 52, $this->source); })()), "shipping_type", [], "any", false, false, true, 52), 52, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お届け先種別"]);
echo "
</div>
<div class=\"td w9\">
<div class=\"ec-radio";
// line 55
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 55, $this->source); })()), "shipping_type", [], "any", false, false, true, 55), 55, $this->source))) ? (" error") : (""));
echo "\">
";
// line 56
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.', 56, $this->source); })()), "shipping_type", [], "any", false, false, true, 56), 56, $this->source), 'widget');
echo "
";
// line 57
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 57, $this->source); })()), "shipping_type", [], "any", false, false, true, 57), 57, $this->source), 'errors');
echo "
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
";
// line 63
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 63, $this->source); })()), "address", [], "any", false, false, true, 63), 63, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お届け先住所"]);
echo "
</div>
<div class=\"td w9\">
<div class=\"ec-zipInput";
// line 66
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 66, $this->source); })()), "postal_code", [], "any", false, false, true, 66), 66, $this->source))) ? (" error") : (""));
echo "\">
<span>";
// line 67
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("〒"), "html", null, true);
echo "</span>
";
// line 68
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 68, $this->source); })()), "postal_code", [], "any", false, false, true, 68), 68, $this->source), 'widget');
echo "
<div class=\"ec-zipInputHelp\">
<div class=\"ec-zipInputHelp__icon\">
<div class=\"ec-icon\"><img
src=\"";
// line 72
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 74
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("郵便番号検索"), "html", null, true);
echo "</span></a>
</div>
";
// line 76
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.', 76, $this->source); })()), "postal_code", [], "any", false, false, true, 76), 76, $this->source), 'errors');
echo "
</div>
<div class=\"ec-select";
// line 78
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 78, $this->source); })()), "address", [], "any", false, false, true, 78), "pref", [], "any", false, false, true, 78), 78, $this->source))) ? (" error") : (""));
echo "\">
";
// line 79
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.', 79, $this->source); })()), "address", [], "any", false, false, true, 79), "pref", [], "any", false, false, true, 79), 79, $this->source), 'widget');
echo "
";
// line 80
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 80, $this->source); })()), "address", [], "any", false, false, true, 80), "pref", [], "any", false, false, true, 80), 80, $this->source), 'errors');
echo "
</div>
<div class=\"ec-input";
// line 82
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 82, $this->source); })()), "address", [], "any", false, false, true, 82), "addr01", [], "any", false, false, true, 82), 82, $this->source))) ? (" error") : (""));
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); })()), "address", [], "any", false, false, true, 83), "addr01", [], "any", false, false, true, 83), 83, $this->source), 'widget', ["attr" => ["placeholder" => "市区町村名(例:京都市中京区西ノ京小堀池町)"]]);
echo "
";
// line 84
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 84, $this->source); })()), "address", [], "any", false, false, true, 84), "addr01", [], "any", false, false, true, 84), 84, $this->source), 'errors');
echo "
</div>
<div class=\"ec-input";
// line 86
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 86, $this->source); })()), "address", [], "any", false, false, true, 86), "addr02", [], "any", false, false, true, 86), 86, $this->source))) ? (" error") : (""));
echo "\">
";
// line 87
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.', 87, $this->source); })()), "address", [], "any", false, false, true, 87), "addr02", [], "any", false, false, true, 87), 87, $this->source), 'widget', ["attr" => ["placeholder" => "番地・ビル名(例:8-2)"]]);
echo "
";
// line 88
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 88, $this->source); })()), "address", [], "any", false, false, true, 88), "addr02", [], "any", false, false, true, 88), 88, $this->source), 'errors');
echo "
</div>
<div class=\"attention-area\">
<p class=\"attention\">マンション名は必ずご入力ください。</p>
</div>
<div class=\"ec-input";
// line 93
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 93, $this->source); })()), "company_name", [], "any", false, false, true, 93), 93, $this->source))) ? (" error") : (""));
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); })()), "company_name", [], "any", false, false, true, 94), 94, $this->source), 'widget', ["attr" => ["placeholder" => "学校名/勤務先名"]]);
echo "
";
// line 95
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 95, $this->source); })()), "company_name", [], "any", false, false, true, 95), 95, $this->source), 'errors');
echo "
</div>
<div class=\"attention-area\">
<p class=\"attention\">ご入力の住所が、学校や勤務先の場合、学校名/勤務先名もご入力ください。</p>
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
";
// line 104
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 104, $this->source); })()), "phone_number", [], "any", false, false, true, 104), 104, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "電話番号"]);
echo "
</div>
<div class=\"td w9\">
<div class=\"ec-telInput";
// line 107
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 107, $this->source); })()), "phone_number", [], "any", false, false, true, 107), 107, $this->source))) ? (" error") : (""));
echo "\">
";
// line 108
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 108, $this->source); })()), "phone_number", [], "any", false, false, true, 108), 108, $this->source), 'widget');
echo "
";
// line 109
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.', 109, $this->source); })()), "phone_number", [], "any", false, false, true, 109), 109, $this->source), 'errors');
echo "
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
";
// line 115
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.', 115, $this->source); })()), "email", [], "any", false, false, true, 115), 115, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "メールアドレス"]);
echo "
</div>
<div class=\"td w9\">
<div class=\"ec-input";
// line 118
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 118, $this->source); })()), "email", [], "any", false, false, true, 118), 118, $this->source))) ? (" error") : (""));
echo "\">
";
// 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); })()), "email", [], "any", false, false, true, 119), 119, $this->source), 'widget');
echo "
";
// line 120
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.', 120, $this->source); })()), "email", [], "any", false, false, true, 120), 120, $this->source), 'errors');
echo "
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
";
// line 126
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.', 126, $this->source); })()), "age", [], "any", false, false, true, 126), 126, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "年齢"]);
echo "
</div>
<div class=\"td w9\">
<div class=\"ec-radio";
// line 129
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 129, $this->source); })()), "age", [], "any", false, false, true, 129), 129, $this->source))) ? (" error") : (""));
echo "\">
";
// line 130
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 130, $this->source); })()), "age", [], "any", false, false, true, 130), 130, $this->source), 'widget');
echo "
";
// 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); })()), "age", [], "any", false, false, true, 131), 131, $this->source), 'errors');
echo "
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
";
// 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); })()), "company_school_name", [], "any", false, false, true, 137), 137, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "現在の勤務先"]);
echo "
</div>
<div class=\"td w9\">
<div class=\"ec-input";
// line 140
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 140, $this->source); })()), "company_school_name", [], "any", false, false, true, 140), 140, $this->source))) ? (" error") : (""));
echo "\">
";
// line 141
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 141, $this->source); })()), "company_school_name", [], "any", false, false, true, 141), 141, $this->source), 'widget');
echo "
";
// line 142
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.', 142, $this->source); })()), "company_school_name", [], "any", false, false, true, 142), 142, $this->source), 'errors');
echo "
</div>
<div class=\"attention-area\">
<p class=\"attention\">学生の方は「学生」と入力してください。</p>
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
";
// line 151
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.', 151, $this->source); })()), "contents1", [], "any", false, false, true, 151), 151, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "現在、ご購読中の雑誌はございますか?"]);
echo "
</div>
<div class=\"td w9\">
<div class=\"ec-input";
// line 154
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 154, $this->source); })()), "contents1", [], "any", false, false, true, 154), 154, $this->source))) ? (" error") : (""));
echo "\">
";
// line 155
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.', 155, $this->source); })()), "contents1", [], "any", false, false, true, 155), 155, $this->source), 'widget');
echo "
";
// line 156
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.', 156, $this->source); })()), "contents1", [], "any", false, false, true, 156), 156, $this->source), 'errors');
echo "
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
";
// line 162
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); })()), "contents2", [], "any", false, false, true, 162), 162, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "備考"]);
echo "
</div>
<div class=\"td w9\">
<div class=\"ec-input";
// line 165
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 165, $this->source); })()), "contents2", [], "any", false, false, true, 165), 165, $this->source))) ? (" error") : (""));
echo "\">
";
// 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); })()), "contents2", [], "any", false, false, true, 166), 166, $this->source), 'widget');
echo "
";
// line 167
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.', 167, $this->source); })()), "contents2", [], "any", false, false, true, 167), 167, $this->source), 'errors');
echo "
<p>何かございましたらご記入ください。</p>
</div>
</div>
</div>
</div>
<div class=\"ec-RegisterRole__actions\">
<p class=\"btn-area one-btn\">
<button type=\"submit\" class=\"ec-blockBtn--action orange-btn\" name=\"mode\" value=\"confirm\">";
// line 175
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("確認ページへ"), "html", null, true);
echo "
</button>
</p>
</div>
</form>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "SampleMagazine/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 452 => 175, 441 => 167, 437 => 166, 433 => 165, 427 => 162, 418 => 156, 414 => 155, 410 => 154, 404 => 151, 392 => 142, 388 => 141, 384 => 140, 378 => 137, 369 => 131, 365 => 130, 361 => 129, 355 => 126, 346 => 120, 342 => 119, 338 => 118, 332 => 115, 323 => 109, 319 => 108, 315 => 107, 309 => 104, 297 => 95, 293 => 94, 289 => 93, 281 => 88, 277 => 87, 273 => 86, 268 => 84, 264 => 83, 260 => 82, 255 => 80, 251 => 79, 247 => 78, 242 => 76, 237 => 74, 232 => 72, 225 => 68, 221 => 67, 217 => 66, 211 => 63, 202 => 57, 198 => 56, 194 => 55, 188 => 52, 179 => 46, 175 => 45, 171 => 44, 167 => 43, 163 => 42, 157 => 39, 148 => 33, 144 => 32, 140 => 31, 136 => 30, 132 => 29, 126 => 26, 119 => 22, 114 => 20, 110 => 18, 106 => 16, 100 => 13, 95 => 10, 85 => 9, 74 => 6, 64 => 5, 53 => 1, 51 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'default_frame.twig' %}
{% form_theme form 'Form/form_div_layout.twig' %}
{% block javascript %}
<script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
{% endblock javascript %}
{% block main %}
<div class=\"ec-contactRole\">
<div class=\"ec-pageHeader\">
<h2 class=\"title\">{{ '健康教室「見本誌」申込み(入力ページ)'|trans }}</h2>
</div>
<div class=\"ec-contactRole__header\">
<p class=\"ec-para-normal\">{{ '見本誌は無料でお届けいたします。見本誌(月号)の指定はできません。
休業日は翌営業日以降の対応となりますのでご了承ください。
'|trans|nl2br }}</p>
</div>
<form method=\"post\" action=\"{{ url('apply_for_sample_magazine') }}\" class=\"h-adr\" novalidate>
<span class=\"p-country-name\" style=\"display:none;\">Japan</span>
{{ form_widget(form._token) }}
<div class=\"ec-borderedDefs table-layout\">
<div class=\"tr\">
<div class=\"th w3\">
{{ form_label(form.name, 'お名前', { 'label_attr': { 'class': 'ec-label' }}) }}
</div>
<div class=\"td w9\">
<div class=\"ec-halfInput{{ has_errors(form.name.name01, form.name.name02) ? ' error' }}\">
{{ form_widget(form.name.name01, {'attr': { 'placeholder': '姓' }}) }}
{{ form_widget(form.name.name02, {'attr': { 'placeholder': '名' }}) }}
{{ form_errors(form.name.name01) }}
{{ form_errors(form.name.name02) }}
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
{{ form_label(form.kana, 'お名前(カナ)', {'label_attr': {'class': 'ec-label'}}) }}
</div>
<div class=\"td w9\">
<div class=\"ec-halfInput{{ has_errors(form.kana.kana01, form.kana.kana02) ? ' error' }}\">
{{ form_widget(form.kana.kana01, {'attr': { 'placeholder': 'セイ' }}) }}
{{ form_widget(form.kana.kana02, {'attr': { 'placeholder': 'メイ' }}) }}
{{ form_errors(form.kana.kana01) }}
{{ form_errors(form.kana.kana02) }}
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
{{ form_label(form.shipping_type, 'お届け先種別', { 'label_attr': { 'class': 'ec-label' }}) }}
</div>
<div class=\"td w9\">
<div class=\"ec-radio{{ has_errors(form.shipping_type) ? ' error' }}\">
{{ form_widget(form.shipping_type) }}
{{ form_errors(form.shipping_type) }}
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
{{ form_label(form.address, 'お届け先住所', { 'label_attr': { 'class': 'ec-label' }}) }}
</div>
<div class=\"td w9\">
<div class=\"ec-zipInput{{ has_errors(form.postal_code) ? ' error' }}\">
<span>{{ '〒'|trans }}</span>
{{ form_widget(form.postal_code) }}
<div class=\"ec-zipInputHelp\">
<div class=\"ec-zipInputHelp__icon\">
<div class=\"ec-icon\"><img
src=\"{{ asset('assets/icon/question-white.svg') }}\" alt=\"\">
</div>
</div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>{{ '郵便番号検索'|trans }}</span></a>
</div>
{{ form_errors(form.postal_code) }}
</div>
<div class=\"ec-select{{ has_errors(form.address.pref) ? ' error' }}\">
{{ form_widget(form.address.pref) }}
{{ form_errors(form.address.pref) }}
</div>
<div class=\"ec-input{{ has_errors(form.address.addr01) ? ' error' }}\">
{{ form_widget(form.address.addr01, { 'attr': { 'placeholder': '市区町村名(例:京都市中京区西ノ京小堀池町)' }}) }}
{{ form_errors(form.address.addr01) }}
</div>
<div class=\"ec-input{{ has_errors(form.address.addr02) ? ' error' }}\">
{{ form_widget(form.address.addr02, { 'attr': { 'placeholder': '番地・ビル名(例:8-2)' }}) }}
{{ form_errors(form.address.addr02) }}
</div>
<div class=\"attention-area\">
<p class=\"attention\">マンション名は必ずご入力ください。</p>
</div>
<div class=\"ec-input{{ has_errors(form.company_name) ? ' error' }}\">
{{ form_widget(form.company_name, { 'attr': { 'placeholder': '学校名/勤務先名' }}) }}
{{ form_errors(form.company_name) }}
</div>
<div class=\"attention-area\">
<p class=\"attention\">ご入力の住所が、学校や勤務先の場合、学校名/勤務先名もご入力ください。</p>
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
{{ form_label(form.phone_number, '電話番号', { 'label_attr': { 'class': 'ec-label' }}) }}
</div>
<div class=\"td w9\">
<div class=\"ec-telInput{{ has_errors(form.phone_number) ? ' error' }}\">
{{ form_widget(form.phone_number) }}
{{ form_errors(form.phone_number) }}
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
{{ form_label(form.email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}
</div>
<div class=\"td w9\">
<div class=\"ec-input{{ has_errors(form.email) ? ' error' }}\">
{{ form_widget(form.email) }}
{{ form_errors(form.email) }}
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
{{ form_label(form.age, '年齢', { 'label_attr': { 'class': 'ec-label' }}) }}
</div>
<div class=\"td w9\">
<div class=\"ec-radio{{ has_errors(form.age) ? ' error' }}\">
{{ form_widget(form.age) }}
{{ form_errors(form.age) }}
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
{{ form_label(form.company_school_name, '現在の勤務先', { 'label_attr': { 'class': 'ec-label' }}) }}
</div>
<div class=\"td w9\">
<div class=\"ec-input{{ has_errors(form.company_school_name) ? ' error' }}\">
{{ form_widget(form.company_school_name) }}
{{ form_errors(form.company_school_name) }}
</div>
<div class=\"attention-area\">
<p class=\"attention\">学生の方は「学生」と入力してください。</p>
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
{{ form_label(form.contents1, '現在、ご購読中の雑誌はございますか?', { 'label_attr': { 'class': 'ec-label' }}) }}
</div>
<div class=\"td w9\">
<div class=\"ec-input{{ has_errors(form.contents1) ? ' error' }}\">
{{ form_widget(form.contents1) }}
{{ form_errors(form.contents1) }}
</div>
</div>
</div>
<div class=\"tr\">
<div class=\"th w3\">
{{ form_label(form.contents2, '備考', { 'label_attr': { 'class': 'ec-label' }}) }}
</div>
<div class=\"td w9\">
<div class=\"ec-input{{ has_errors(form.contents2) ? ' error' }}\">
{{ form_widget(form.contents2) }}
{{ form_errors(form.contents2) }}
<p>何かございましたらご記入ください。</p>
</div>
</div>
</div>
</div>
<div class=\"ec-RegisterRole__actions\">
<p class=\"btn-area one-btn\">
<button type=\"submit\" class=\"ec-blockBtn--action orange-btn\" name=\"mode\" value=\"confirm\">{{ '確認ページへ'|trans }}
</button>
</p>
</div>
</form>
</div>
{% endblock %}", "SampleMagazine/index.twig", "/home/higashiyamashobo/www/higashiyamashobo.jpn.org/ec-cube/app/template/default/SampleMagazine/index.twig");
}
public function checkSecurity()
{
static $tags = array("form_theme" => 3);
static $filters = array("escape" => 13, "trans" => 13, "nl2br" => 18);
static $functions = array("url" => 20, "form_widget" => 22, "form_label" => 26, "has_errors" => 29, "form_errors" => 32, "asset" => 72);
try {
$this->sandbox->checkSecurity(
['form_theme'],
['escape', 'trans', 'nl2br'],
['url', 'form_widget', 'form_label', 'has_errors', 'form_errors', 'asset']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}