<?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;
/* Entry/index.twig */
class __TwigTemplate_3548c756842836bda37b9d40d0d8d473 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'javascript' => [$this, 'block_javascript'],
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 11
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Entry/index.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Entry/index.twig"));
// line 13
$context["body_class"] = "registration_page";
// line 15
$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.', 15, $this->source); })()), [0 => "Form/form_div_layout.twig"], true);
// line 11
$this->parent = $this->loadTemplate("default_frame.twig", "Entry/index.twig", 11);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 17
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 18
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 21
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 22
echo " <div class=\"ec-registerRole\">
<div class=\"ec-pageHeader\">
<h1 class=\"km_pagetitle\">";
// line 24
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.entry.title"), "html", null, true);
echo "</h1>
</div>
<div class=\"ec-off1Grid\">
<div class=\"ec-off1Grid__cell\">
<form method=\"post\" action=\"";
// line 28
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry");
echo "\" novalidate class=\"h-adr\">
<span class=\"p-country-name\" style=\"display:none;\">Japan</span>
";
// line 30
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.', 30, $this->source); })()), "_token", [], "any", false, false, true, 30), 30, $this->source), 'widget');
echo "
<div class=\"ec-borderedDefs\">
<dl>
<dt>
";
// line 34
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.', 34, $this->source); })()), "User", [], "any", false, false, true, 34), "name", [], "any", false, false, true, 34), 34, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "common.name"]);
echo "
</dt>
<dd>
<div class=\"ec-halfInput";
// line 37
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, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 37, $this->source); })()), "User", [], "any", false, false, true, 37), "name", [], "any", false, false, true, 37), "name01", [], "any", false, false, true, 37), 37, $this->source), $this->sandbox->ensureToStringAllowed(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.', 37, $this->source); })()), "User", [], "any", false, false, true, 37), "name", [], "any", false, false, true, 37), "name02", [], "any", false, false, true, 37), 37, $this->source))) ? (" error") : (""));
echo "\">
";
// line 38
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, 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.', 38, $this->source); })()), "User", [], "any", false, false, true, 38), "name", [], "any", false, false, true, 38), "name01", [], "any", false, false, true, 38), 38, $this->source), 'widget', ["attr" => ["placeholder" => "common.last_name"]]);
echo "
";
// line 39
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, 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); })()), "User", [], "any", false, false, true, 39), "name", [], "any", false, false, true, 39), "name02", [], "any", false, false, true, 39), 39, $this->source), 'widget', ["attr" => ["placeholder" => "common.first_name"]]);
echo "
";
// line 40
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, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 40, $this->source); })()), "User", [], "any", false, false, true, 40), "name", [], "any", false, false, true, 40), "name01", [], "any", false, false, true, 40), 40, $this->source), 'errors');
echo "
";
// line 41
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 41, $this->source); })()), "User", [], "any", false, false, true, 41), "name", [], "any", false, false, true, 41), "name02", [], "any", false, false, true, 41), 41, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<dl style=\"display: none;\">
";
// 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), "kana01", [], "any", false, false, true, 46), 46, $this->source), 'widget');
echo "
";
// line 47
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.', 47, $this->source); })()), "kana", [], "any", false, false, true, 47), "kana02", [], "any", false, false, true, 47), 47, $this->source), 'widget');
echo "
";
// line 48
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, 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.', 48, $this->source); })()), "User", [], "any", false, false, true, 48), "kana", [], "any", false, false, true, 48), "kana01", [], "any", false, false, true, 48), 48, $this->source), 'widget');
echo "
";
// line 49
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, 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.', 49, $this->source); })()), "User", [], "any", false, false, true, 49), "kana", [], "any", false, false, true, 49), "kana02", [], "any", false, false, true, 49), 49, $this->source), 'widget');
echo "
</dl>
<dl>
<dt>
";
// line 53
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.', 53, $this->source); })()), "User", [], "any", false, false, true, 53), "phone_number", [], "any", false, false, true, 53), 53, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "common.phone_number"]);
echo "
</dt>
<dd>
<div class=\"ec-telInput";
// line 56
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.', 56, $this->source); })()), "User", [], "any", false, false, true, 56), "phone_number", [], "any", false, false, true, 56), 56, $this->source))) ? (" error") : (""));
echo "\">
";
// line 57
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 57, $this->source); })()), "User", [], "any", false, false, true, 57), "phone_number", [], "any", false, false, true, 57), 57, $this->source), 'widget');
echo "
";
// line 58
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.', 58, $this->source); })()), "User", [], "any", false, false, true, 58), "phone_number", [], "any", false, false, true, 58), 58, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<dl>
<dt>
";
// line 64
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.', 64, $this->source); })()), "email", [], "any", false, false, true, 64), 64, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "common.mail_address"]);
echo "
</dt>
<dd>
<div class=\"ec-input";
// line 67
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.', 67, $this->source); })()), "email", [], "any", false, false, true, 67), "first", [], "any", false, false, true, 67), 67, $this->source))) ? (" error") : (""));
echo "\">
";
// line 68
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.', 68, $this->source); })()), "email", [], "any", false, false, true, 68), "first", [], "any", false, false, true, 68), 68, $this->source), 'widget', ["attr" => ["placeholder" => "common.mail_address_sample"]]);
echo "
";
// line 69
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 69, $this->source); })()), "email", [], "any", false, false, true, 69), "first", [], "any", false, false, true, 69), 69, $this->source), 'errors');
echo "
</div>
<div class=\"ec-input";
// line 71
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.', 71, $this->source); })()), "email", [], "any", false, false, true, 71), "second", [], "any", false, false, true, 71), 71, $this->source))) ? (" error") : (""));
echo "\">
";
// line 72
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.', 72, $this->source); })()), "email", [], "any", false, false, true, 72), "second", [], "any", false, false, true, 72), 72, $this->source), 'widget', ["attr" => ["placeholder" => "common.repeated_confirm"]]);
echo "
";
// line 73
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 73, $this->source); })()), "email", [], "any", false, false, true, 73), "second", [], "any", false, false, true, 73), 73, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<dl>
<dt>
";
// line 79
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.', 79, $this->source); })()), "plain_password", [], "any", false, false, true, 79), 79, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "common.password"]);
echo "
</dt>
<dd>
<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); })()), "plain_password", [], "any", false, false, true, 82), "first", [], "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); })()), "plain_password", [], "any", false, false, true, 83), "first", [], "any", false, false, true, 83), 83, $this->source), 'widget', ["attr" => ["placeholder" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.password_sample", ["%min%" => twig_get_attribute($this->env, $this->source, // line 84
(isset($context["eccube_config"]) || array_key_exists("eccube_config", $context) ? $context["eccube_config"] : (function () { throw new RuntimeError('Variable "eccube_config" does not exist.', 84, $this->source); })()), "eccube_password_min_len", [], "any", false, false, true, 84), "%max%" => twig_get_attribute($this->env, $this->source, (isset($context["eccube_config"]) || array_key_exists("eccube_config", $context) ? $context["eccube_config"] : (function () { throw new RuntimeError('Variable "eccube_config" does not exist.', 84, $this->source); })()), "eccube_password_max_len", [], "any", false, false, true, 84)])], "type" => "password"]);
// line 86
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); })()), "plain_password", [], "any", false, false, true, 87), "first", [], "any", false, false, true, 87), 87, $this->source), 'errors');
echo "
</div>
<div class=\"ec-input";
// line 89
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.', 89, $this->source); })()), "plain_password", [], "any", false, false, true, 89), "second", [], "any", false, false, true, 89), 89, $this->source))) ? (" error") : (""));
echo "\">
";
// line 90
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.', 90, $this->source); })()), "plain_password", [], "any", false, false, true, 90), "second", [], "any", false, false, true, 90), 90, $this->source), 'widget', ["attr" => ["placeholder" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.repeated_confirm")], "type" => "password"]);
// line 93
echo "
";
// line 94
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.', 94, $this->source); })()), "plain_password", [], "any", false, false, true, 94), "second", [], "any", false, false, true, 94), 94, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
<dl>
<dt>
";
// line 100
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.', 100, $this->source); })()), "User", [], "any", false, false, true, 100), "SearchingPrefs", [], "any", false, false, true, 100), 100, $this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "common.searching_prefectures"]);
echo "
</dt>
<dd>
<div class=\"col\">
<div class=\"d-flex flex-wrap\">
";
// line 105
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(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); })()), "User", [], "any", false, false, true, 105), "SearchingPrefs", [], "any", false, false, true, 105));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["checkbox"]) {
// line 106
echo " <div class=\"me-3\">
";
// line 107
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["checkbox"], 107, $this->source), 'widget');
echo "
";
// line 108
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["checkbox"], 108, $this->source), 'label');
echo "
</div>
";
// line 110
if (((0 == twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 110) % 3) && !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, true, 110))) {
// line 111
echo " </div><div class=\"d-flex flex-wrap\">
";
}
// line 113
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['checkbox'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 114
echo " </div>
</div>
</dd>
</dl>
";
// line 120
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.', 120, $this->source); })()), "mode", [], "any", false, false, true, 120), 120, $this->source), 'widget', ["attr" => ["style" => "display: none;"], "value" => "register_confirm"]);
echo "
";
// line 122
echo " ";
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, 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.', 122, $this->source); })()), "User", [], "any", false, false, true, 122), "EmergencyContact", [], "any", false, false, true, 122), "kana", [], "any", false, false, true, 122), "kana01", [], "any", false, false, true, 122), 122, $this->source), 'widget', ["attr" => ["style" => "display: none;"]]);
echo "
";
// line 123
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, 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.', 123, $this->source); })()), "User", [], "any", false, false, true, 123), "EmergencyContact", [], "any", false, false, true, 123), "kana", [], "any", false, false, true, 123), "kana02", [], "any", false, false, true, 123), 123, $this->source), 'widget', ["attr" => ["style" => "display: none;"]]);
echo "
";
// line 125
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 125, $this->source); })()), function ($__f__) use ($context, $macros) { $context["f"] = $__f__; return twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["f"], "vars", [], "any", false, false, true, 125), "eccube_form_options", [], "any", false, false, true, 125), "auto_render", [], "any", false, false, true, 125); }));
foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
// line 126
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["f"], "vars", [], "any", false, false, true, 126), "eccube_form_options", [], "any", false, false, true, 126), "form_theme", [], "any", false, false, true, 126)) {
// line 127
echo " ";
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme($context["f"], [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["f"], "vars", [], "any", false, false, true, 127), "eccube_form_options", [], "any", false, false, true, 127), "form_theme", [], "any", false, false, true, 127)], true);
// line 128
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 128, $this->source), 'row');
echo "
";
} else {
// line 130
echo " <dl>
<dt>
";
// line 132
$context["label_class"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["f"], "vars", [], "any", false, true, true, 132), "label_attr", [], "any", false, true, true, 132), "class", [], "any", true, true, true, 132)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["f"], "vars", [], "any", false, false, true, 132), "label_attr", [], "any", false, false, true, 132), "class", [], "any", false, false, true, 132)) : (""));
// line 133
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 133, $this->source), 'label', ["label_attr" => ["class" => ($this->sandbox->ensureToStringAllowed((isset($context["label_class"]) || array_key_exists("label_class", $context) ? $context["label_class"] : (function () { throw new RuntimeError('Variable "label_class" does not exist.', 133, $this->source); })()), 133, $this->source) . " ec-label")]] + (twig_test_empty($_label_ = $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["f"], "vars", [], "any", false, false, true, 133), "label", [], "any", false, false, true, 133), 133, $this->source)) ? [] : ["label" => $_label_]));
echo "
</dt>
<dd>
<div class=\"";
// line 136
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["f"], "vars", [], "any", false, false, true, 136), "eccube_form_options", [], "any", false, false, true, 136), "style_class", [], "any", false, false, true, 136), 136, $this->source), "html", null, true);
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed($context["f"], 136, $this->source))) ? (" error") : (""));
echo "\">
";
// line 137
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 137, $this->source), 'widget');
echo "
";
// line 138
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 138, $this->source), 'errors');
echo "
</div>
</dd>
</dl>
";
}
// line 143
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 144
echo " </div>
<div class=\"ec-registerRole__actions\">
<div class=\"ec-off4Grid\">
<div class=\"ec-off4Grid__cell\">
<button class=\"ec-blockBtn--action\" type=\"submit\" name=\"mode\" value=\"confirm\">";
// line 148
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.confirm"), "html", null, true);
echo "</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Entry/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 404 => 148, 398 => 144, 392 => 143, 384 => 138, 380 => 137, 375 => 136, 368 => 133, 366 => 132, 362 => 130, 356 => 128, 353 => 127, 350 => 126, 345 => 125, 341 => 123, 336 => 122, 331 => 120, 324 => 114, 310 => 113, 306 => 111, 304 => 110, 299 => 108, 295 => 107, 292 => 106, 275 => 105, 267 => 100, 258 => 94, 255 => 93, 253 => 90, 249 => 89, 244 => 87, 241 => 86, 239 => 84, 238 => 83, 234 => 82, 228 => 79, 219 => 73, 215 => 72, 211 => 71, 206 => 69, 202 => 68, 198 => 67, 192 => 64, 183 => 58, 179 => 57, 175 => 56, 169 => 53, 162 => 49, 158 => 48, 154 => 47, 150 => 46, 142 => 41, 138 => 40, 134 => 39, 130 => 38, 126 => 37, 120 => 34, 113 => 30, 108 => 28, 101 => 24, 97 => 22, 87 => 21, 76 => 18, 66 => 17, 55 => 11, 53 => 15, 51 => 13, 38 => 11,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% extends 'default_frame.twig' %}
{% set body_class = 'registration_page' %}
{% 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-registerRole\">
<div class=\"ec-pageHeader\">
<h1 class=\"km_pagetitle\">{{ 'front.entry.title'|trans }}</h1>
</div>
<div class=\"ec-off1Grid\">
<div class=\"ec-off1Grid__cell\">
<form method=\"post\" action=\"{{ url('entry') }}\" novalidate class=\"h-adr\">
<span class=\"p-country-name\" style=\"display:none;\">Japan</span>
{{ form_widget(form._token) }}
<div class=\"ec-borderedDefs\">
<dl>
<dt>
{{ form_label(form.User.name, 'common.name', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"ec-halfInput{{ has_errors(form.User.name.name01, form.User.name.name02) ? ' error'}}\">
{{ form_widget(form.User.name.name01, { 'attr': { 'placeholder': 'common.last_name' }}) }}
{{ form_widget(form.User.name.name02, { 'attr': { 'placeholder': 'common.first_name' }}) }}
{{ form_errors(form.User.name.name01) }}
{{ form_errors(form.User.name.name02) }}
</div>
</dd>
</dl>
<dl style=\"display: none;\">
{{ form_widget(form.kana.kana01) }}
{{ form_widget(form.kana.kana02) }}
{{ form_widget(form.User.kana.kana01) }}
{{ form_widget(form.User.kana.kana02) }}
</dl>
<dl>
<dt>
{{ form_label(form.User.phone_number, 'common.phone_number', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"ec-telInput{{ has_errors(form.User.phone_number) ? ' error' }}\">
{{ form_widget(form.User.phone_number) }}
{{ form_errors(form.User.phone_number) }}
</div>
</dd>
</dl>
<dl>
<dt>
{{ form_label(form.email, 'common.mail_address', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"ec-input{{ has_errors(form.email.first) ? ' error' }}\">
{{ form_widget(form.email.first, { 'attr': { 'placeholder': 'common.mail_address_sample' }}) }}
{{ form_errors(form.email.first) }}
</div>
<div class=\"ec-input{{ has_errors(form.email.second) ? ' error' }}\">
{{ form_widget(form.email.second, { 'attr': { 'placeholder': 'common.repeated_confirm' }}) }}
{{ form_errors(form.email.second) }}
</div>
</dd>
</dl>
<dl>
<dt>
{{ form_label(form.plain_password, 'common.password', { 'label_attr': {'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"ec-input{{ has_errors(form.plain_password.first) ? ' error' }}\">
{{ form_widget(form.plain_password.first, {
'attr': { 'placeholder': 'common.password_sample'|trans({ '%min%': eccube_config.eccube_password_min_len, '%max%': eccube_config.eccube_password_max_len }) },
'type': 'password'
}) }}
{{ form_errors(form.plain_password.first) }}
</div>
<div class=\"ec-input{{ has_errors(form.plain_password.second) ? ' error' }}\">
{{ form_widget(form.plain_password.second, {
'attr': { 'placeholder': 'common.repeated_confirm'|trans },
'type': 'password'
}) }}
{{ form_errors(form.plain_password.second) }}
</div>
</dd>
</dl>
<dl>
<dt>
{{ form_label(form.User.SearchingPrefs, 'common.searching_prefectures', { 'label_attr': {'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"col\">
<div class=\"d-flex flex-wrap\">
{% for checkbox in form.User.SearchingPrefs %}
<div class=\"me-3\">
{{ form_widget(checkbox) }}
{{ form_label(checkbox) }}
</div>
{% if loop.index is divisible by(3) and not loop.last %}
</div><div class=\"d-flex flex-wrap\">
{% endif %}
{% endfor %}
</div>
</div>
</dd>
</dl>
{# モードを hidden で設定 #}
{{ form_widget(form.mode, { 'attr': { 'style': 'display: none;' }, 'value': 'register_confirm' }) }}
{# これがないとエラーにフォームのバリデーションが動いてしまうので、ダミーのフィールドを出力 #}
{{ form_widget(form.User.EmergencyContact.kana.kana01, {'attr': {'style': 'display: none;'}}) }}
{{ form_widget(form.User.EmergencyContact.kana.kana02, {'attr': {'style': 'display: none;'}}) }}
{# エンティティ拡張の自動出力 #}
{% for f in form|filter(f => f.vars.eccube_form_options.auto_render) %}
{% if f.vars.eccube_form_options.form_theme %}
{% form_theme f f.vars.eccube_form_options.form_theme %}
{{ form_row(f) }}
{% else %}
<dl>
<dt>
{% set label_class = f.vars.label_attr.class is defined ? f.vars.label_attr.class : '' %}
{{ form_label(f, f.vars.label, { 'label_attr': {'class': label_class ~ ' ec-label' }}) }}
</dt>
<dd>
<div class=\"{{ f.vars.eccube_form_options.style_class }}{{ has_errors(f) ? ' error' }}\">
{{ form_widget(f) }}
{{ form_errors(f) }}
</div>
</dd>
</dl>
{% endif %}
{% endfor %}
</div>
<div class=\"ec-registerRole__actions\">
<div class=\"ec-off4Grid\">
<div class=\"ec-off4Grid__cell\">
<button class=\"ec-blockBtn--action\" type=\"submit\" name=\"mode\" value=\"confirm\">{{ 'common.confirm'|trans }}</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
{% endblock %}", "Entry/index.twig", "/var/www/html/app/template/default/Entry/index.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 13, "form_theme" => 15, "for" => 105, "if" => 110);
static $filters = array("escape" => 24, "trans" => 24, "filter" => 125);
static $functions = array("url" => 28, "form_widget" => 30, "form_label" => 34, "has_errors" => 37, "form_errors" => 40, "form_row" => 128);
try {
$this->sandbox->checkSecurity(
['set', 'form_theme', 'for', 'if'],
['escape', 'trans', 'filter'],
['url', 'form_widget', 'form_label', 'has_errors', 'form_errors', 'form_row'],
$this->source
);
} 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;
}
}
}