<?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;
/* OrderForm/index.twig */
class __TwigTemplate_42742df7296e536d96beef7a65ec41e6 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'],
];
}
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", "OrderForm/index.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "OrderForm/index.twig"));
// line 13
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 13, $this->source); })()), [0 => "Form/form_div_layout.twig"], true);
// line 11
$this->parent = $this->loadTemplate("default_frame.twig", "OrderForm/index.twig", 11);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 15
public function block_javascript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
// line 16
echo " <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 19
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 20
echo "<style>
input.contact_product_id{
width: 25%;
margin-right: 28px;
margin-left: 15px;
display: inline-block;
}
.ec-para-normal {
border-left: 5px solid #ccc;
border-bottom: 1px solid #ccc;
padding-left: 10px;
font-size: 18px;
}
.ec-borderedDefs {
border: 1px solid #ccc;
}
.ec-borderedDefs dl {
padding: unset;
border-bottom: 1px solid #ccc;
}
.ec-borderedDefs dl:last-child {
border-bottom: unset;
}
.ec-borderedDefs dt{
padding-top: 25px;
background-color: #F0F0F0;
padding-left: 10px;
border-right: 1px solid #ccc;
}
.ec-borderedDefs dd{
padding: 16px 10px 0px;
}
table {
margin: 15px auto 20px auto;
border-top: 1px solid #CCC;
border-left: 1px solid #CCC;
width: 100%;
border-collapse: collapse;
text-align: left;
}
table, caption, th, td {
margin: 0;
padding: 0;
border-collapse: collapse;
border-spacing: 0px;
empty-cells: show;
text-align: left;
font-weight: normal;
}
table th {
padding: 8px;
border-right: 1px solid #CCC;
border-bottom: 1px solid #CCC;
color: #333;
background-color: #F0F0F0;
font-weight: normal;
}
table td {
padding: 8px;
border-right: 1px solid #CCC;
border-bottom: 1px solid #CCC;
}
.ec-contactRole textarea {
min-height: 200px;
}
</style>
<div class=\"ec-contactRole\">
<div class=\"ec-pageHeader\">
<h1>";
// line 92
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("注文フォーム"), "html", null, true);
echo "</h1>
</div>
<div class=\"ec-off1Grid\">
<div class=\"ec-off1Grid__cell\">
<form method=\"post\" action=\"\" class=\"h-adr\" novalidate>
<span class=\"p-country-name\" style=\"display:none;\">Japan</span>
";
// line 98
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 98, $this->source); })()), "_token", [], "any", false, false, false, 98), 'widget');
echo "
<h3 class=\"ec-para-normal ec-font-bold\">";
// line 99
echo twig_nl2br(twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1. お客様情報入力 "), "html", null, true));
echo "<span style=\"color: red; font-weight: 500;\">※は必須項目です</span></h3>
<div class=\"ec-borderedDefs\">
<dl>
<dt>
";
// line 103
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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); })()), "company", [], "any", false, false, false, 103), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "御社名"]);
echo "
</dt>
<dd>
<div class=\"ec-input";
// line 106
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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); })()), "company", [], "any", false, false, false, 106))) ? (" error") : (""));
echo "\">
";
// line 107
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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); })()), "company", [], "any", false, false, false, 107), 'widget');
echo "
";
// line 108
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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); })()), "company", [], "any", false, false, false, 108), 'errors');
echo "
</div>
</dd>
</dl>
<dl>
<dt>
";
// line 114
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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); })()), "name", [], "any", false, false, false, 114), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "ご担当者様氏名"]);
echo "
</dt>
<dd>
<div class=\"ec-input";
// line 117
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 117, $this->source); })()), "name", [], "any", false, false, false, 117))) ? (" error") : (""));
echo "\">
";
// line 118
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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); })()), "name", [], "any", false, false, false, 118), 'widget');
echo "
";
// line 119
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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); })()), "name", [], "any", false, false, false, 119), 'errors');
echo "
</div>
</dd>
</dl>
<dl>
<dt>
";
// line 125
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 125, $this->source); })()), "address", [], "any", false, false, false, 125), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "住所"]);
echo "
</dt>
<dd>
<div class=\"ec-zipInput";
// line 128
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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); })()), "postal_code", [], "any", false, false, false, 128))) ? (" error") : (""));
echo "\">
<span>";
// line 129
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("〒"), "html", null, true);
echo "</span>
";
// line 130
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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); })()), "postal_code", [], "any", false, false, false, 130), 'widget');
echo "
<div class=\"ec-zipInputHelp\">
<div class=\"ec-zipInputHelp__icon\">
<div class=\"ec-icon\"><img
src=\"";
// line 134
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 136
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("郵便番号検索"), "html", null, true);
echo "</span></a>
</div>
";
// line 138
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 138, $this->source); })()), "postal_code", [], "any", false, false, false, 138), 'errors');
echo "
</div>
<div class=\"ec-select";
// line 140
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.', 140, $this->source); })()), "address", [], "any", false, false, false, 140), "pref", [], "any", false, false, false, 140))) ? (" error") : (""));
echo "\">
";
// line 141
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 141, $this->source); })()), "address", [], "any", false, false, false, 141), "pref", [], "any", false, false, false, 141), 'widget');
echo "
";
// line 142
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 142, $this->source); })()), "address", [], "any", false, false, false, 142), "pref", [], "any", false, false, false, 142), 'errors');
echo "
</div>
<div class=\"ec-input";
// line 144
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.', 144, $this->source); })()), "address", [], "any", false, false, false, 144), "addr01", [], "any", false, false, false, 144))) ? (" error") : (""));
echo "\">
";
// line 145
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 145, $this->source); })()), "address", [], "any", false, false, false, 145), "addr01", [], "any", false, false, false, 145), 'widget', ["attr" => ["placeholder" => "市区町村名 (例:千代田区神田神保町)"]]);
echo "
";
// line 146
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 146, $this->source); })()), "address", [], "any", false, false, false, 146), "addr01", [], "any", false, false, false, 146), 'errors');
echo "
</div>
<div class=\"ec-input";
// line 148
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 148, $this->source); })()), "address", [], "any", false, false, false, 148), "addr02", [], "any", false, false, false, 148))) ? (" error") : (""));
echo "\">
";
// line 149
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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); })()), "address", [], "any", false, false, false, 149), "addr02", [], "any", false, false, false, 149), 'widget', ["attr" => ["placeholder" => "番地・ビル名 (例:1-3-5)", "style" => "margin-bottom: 0px;"]]);
echo "
";
// line 150
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 150, $this->source); })()), "address", [], "any", false, false, false, 150), "addr02", [], "any", false, false, false, 150), 'errors');
echo "
</div>
<p style=\"color:red;margin-top: 5px;\">住所は2つに分けてご記入ください。マンション名は必ず記入してください。</p>
</dd>
</dl>
<dl>
<dt>
";
// line 157
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 157, $this->source); })()), "phone_number", [], "any", false, false, false, 157), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お電話番号"]);
echo "
</dt>
<dd>
<div class=\"ec-telInput";
// line 160
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 160, $this->source); })()), "phone_number", [], "any", false, false, false, 160))) ? (" error") : (""));
echo "\">
";
// line 161
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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); })()), "phone_number", [], "any", false, false, false, 161), 'widget');
echo "
";
// line 162
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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); })()), "phone_number", [], "any", false, false, false, 162), 'errors');
echo "
</div>
</dd>
</dl>
<dl>
<dt>
";
// line 168
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 168, $this->source); })()), "fax", [], "any", false, false, false, 168), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "FAX番号"]);
echo "
</dt>
<dd>
<div class=\"ec-input";
// line 171
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 171, $this->source); })()), "fax", [], "any", false, false, false, 171))) ? (" error") : (""));
echo "\">
";
// line 172
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 172, $this->source); })()), "fax", [], "any", false, false, false, 172), 'widget');
echo "
";
// line 173
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 173, $this->source); })()), "fax", [], "any", false, false, false, 173), 'errors');
echo "
</div>
</dd>
</dl>
<dl>
<dt>
";
// line 179
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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); })()), "email", [], "any", false, false, false, 179), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "メールアドレス"]);
echo "
</dt>
<dd>
<div class=\"ec-input";
// line 182
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.', 182, $this->source); })()), "email", [], "any", false, false, false, 182))) ? (" error") : (""));
echo "\">
";
// line 183
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 183, $this->source); })()), "email", [], "any", false, false, false, 183), 'widget');
echo "
";
// line 184
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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); })()), "email", [], "any", false, false, false, 184), 'errors');
echo "
</div>
</dd>
</dl>
<dl>
<dt>
";
// line 190
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 190, $this->source); })()), "type", [], "any", false, false, false, 190), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お店の分類"]);
echo "
<br>(初めてご注文のお客様
<br>は必ずご選択ください)
</dt>
<dd>
<div class=\"ec-select";
// line 195
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.', 195, $this->source); })()), "type", [], "any", false, false, false, 195))) ? (" error") : (""));
echo "\">
";
// line 196
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 196, $this->source); })()), "type", [], "any", false, false, false, 196), 'widget');
echo "
";
// line 197
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 197, $this->source); })()), "type", [], "any", false, false, false, 197), 'errors');
echo "
<br>その他
";
// line 199
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 199, $this->source); })()), "etc", [], "any", false, false, false, 199), 'widget');
echo "
";
// line 200
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 200, $this->source); })()), "etc", [], "any", false, false, false, 200), 'errors');
echo "
</div>
</dd>
</dl>
</div>
<h3 class=\"ec-para-normal ec-font-bold\">";
// line 205
echo twig_nl2br(twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("2. ご注文内容"), "html", null, true));
echo "</h3>
<div class=\"ec-borderedDefs\">
<table>
<tbody>
<tr>
<th>
\
</th>
<th>
商品
</th>
<th>
数量
</th>
<th>
ネームプリント
</th>
<th>
版代
</th>
<th>
プリント色
</th>
</tr>
";
// line 229
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, 8));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 230
echo " <tr>
<td>";
// line 231
echo twig_escape_filter($this->env, $context["i"], "html", null, true);
echo "</td>
<td>
商品コード<br>
";
// line 234
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 234, $this->source); })()), "order_detail_block", [], "array", false, false, false, 234), ("product_code" . $context["i"]), [], "array", false, false, false, 234), 'widget');
echo "
";
// line 235
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 235, $this->source); })()), "order_detail_block", [], "array", false, false, false, 235), ("product_code" . $context["i"]), [], "array", false, false, false, 235), 'errors');
echo "
<br>商品名<br>
";
// line 237
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 237, $this->source); })()), "order_detail_block", [], "array", false, false, false, 237), ("product_name" . $context["i"]), [], "array", false, false, false, 237), 'widget');
echo "
";
// line 238
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 238, $this->source); })()), "order_detail_block", [], "array", false, false, false, 238), ("product_name" . $context["i"]), [], "array", false, false, false, 238), 'errors');
echo "
</td>
<td>
";
// line 241
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 241, $this->source); })()), "order_detail_block", [], "array", false, false, false, 241), ("quantity" . $context["i"]), [], "array", false, false, false, 241), 'widget');
echo "枚
";
// line 242
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 242, $this->source); })()), "order_detail_block", [], "array", false, false, false, 242), ("quantity" . $context["i"]), [], "array", false, false, false, 242), 'errors');
echo "
</td>
<td>
";
// line 245
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 245, $this->source); })()), "order_detail_block", [], "array", false, false, false, 245), ("print" . $context["i"]), [], "array", false, false, false, 245), 'widget');
echo "
";
// line 246
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 246, $this->source); })()), "order_detail_block", [], "array", false, false, false, 246), ("print" . $context["i"]), [], "array", false, false, false, 246), 'errors');
echo "
</td>
<td>
";
// line 249
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 249, $this->source); })()), "order_detail_block", [], "array", false, false, false, 249), ("han" . $context["i"]), [], "array", false, false, false, 249), 'widget');
echo "
";
// line 250
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 250, $this->source); })()), "order_detail_block", [], "array", false, false, false, 250), ("han" . $context["i"]), [], "array", false, false, false, 250), 'errors');
echo "
</td>
<td>
";
// line 253
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 253, $this->source); })()), "order_detail_block", [], "array", false, false, false, 253), ("color" . $context["i"]), [], "array", false, false, false, 253), 'widget');
echo "
";
// line 254
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 254, $this->source); })()), "order_detail_block", [], "array", false, false, false, 254), ("color" . $context["i"]), [], "array", false, false, false, 254), 'errors');
echo "
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 258
echo " </tbody>
</table>
</div>
<h3 class=\"ec-para-normal ec-font-bold\">";
// line 263
echo twig_nl2br(twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("3. 備考"), "html", null, true));
echo "</h3>
<div class=\"ec-borderedDefs\">
<dl>
<dt>
";
// line 267
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 267, $this->source); })()), "memo", [], "any", false, false, false, 267), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "備考"]);
echo "
</dt>
<dd>
<div class=\"ec-input";
// line 270
echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(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.', 270, $this->source); })()), "memo", [], "any", false, false, false, 270))) ? (" error") : (""));
echo "\">
";
// line 271
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 271, $this->source); })()), "memo", [], "any", false, false, false, 271), 'widget');
echo "
";
// line 272
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 272, $this->source); })()), "memo", [], "any", false, false, false, 272), 'errors');
echo "
</div>
</dd>
</dl>
</div>
<div class=\"ec-RegisterRole__actions\">
<div class=\"ec-off4Grid\">
<div class=\"ec-off4Grid__cell\">
<button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">";
// line 282
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("確認ページへ"), "html", null, true);
echo "
</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "OrderForm/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 559 => 282, 546 => 272, 542 => 271, 538 => 270, 532 => 267, 525 => 263, 518 => 258, 508 => 254, 504 => 253, 498 => 250, 494 => 249, 488 => 246, 484 => 245, 478 => 242, 474 => 241, 468 => 238, 464 => 237, 459 => 235, 455 => 234, 449 => 231, 446 => 230, 442 => 229, 415 => 205, 407 => 200, 403 => 199, 398 => 197, 394 => 196, 390 => 195, 382 => 190, 373 => 184, 369 => 183, 365 => 182, 359 => 179, 350 => 173, 346 => 172, 342 => 171, 336 => 168, 327 => 162, 323 => 161, 319 => 160, 313 => 157, 303 => 150, 299 => 149, 295 => 148, 290 => 146, 286 => 145, 282 => 144, 277 => 142, 273 => 141, 269 => 140, 264 => 138, 259 => 136, 254 => 134, 247 => 130, 243 => 129, 239 => 128, 233 => 125, 224 => 119, 220 => 118, 216 => 117, 210 => 114, 201 => 108, 197 => 107, 193 => 106, 187 => 103, 180 => 99, 176 => 98, 167 => 92, 93 => 20, 83 => 19, 72 => 16, 62 => 15, 51 => 11, 49 => 13, 36 => 11,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% extends 'default_frame.twig' %}
{% form_theme form 'Form/form_div_layout.twig' %}
{% block javascript %}
<script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
{% endblock javascript %}
{% block main %}
<style>
input.contact_product_id{
width: 25%;
margin-right: 28px;
margin-left: 15px;
display: inline-block;
}
.ec-para-normal {
border-left: 5px solid #ccc;
border-bottom: 1px solid #ccc;
padding-left: 10px;
font-size: 18px;
}
.ec-borderedDefs {
border: 1px solid #ccc;
}
.ec-borderedDefs dl {
padding: unset;
border-bottom: 1px solid #ccc;
}
.ec-borderedDefs dl:last-child {
border-bottom: unset;
}
.ec-borderedDefs dt{
padding-top: 25px;
background-color: #F0F0F0;
padding-left: 10px;
border-right: 1px solid #ccc;
}
.ec-borderedDefs dd{
padding: 16px 10px 0px;
}
table {
margin: 15px auto 20px auto;
border-top: 1px solid #CCC;
border-left: 1px solid #CCC;
width: 100%;
border-collapse: collapse;
text-align: left;
}
table, caption, th, td {
margin: 0;
padding: 0;
border-collapse: collapse;
border-spacing: 0px;
empty-cells: show;
text-align: left;
font-weight: normal;
}
table th {
padding: 8px;
border-right: 1px solid #CCC;
border-bottom: 1px solid #CCC;
color: #333;
background-color: #F0F0F0;
font-weight: normal;
}
table td {
padding: 8px;
border-right: 1px solid #CCC;
border-bottom: 1px solid #CCC;
}
.ec-contactRole textarea {
min-height: 200px;
}
</style>
<div class=\"ec-contactRole\">
<div class=\"ec-pageHeader\">
<h1>{{ '注文フォーム'|trans }}</h1>
</div>
<div class=\"ec-off1Grid\">
<div class=\"ec-off1Grid__cell\">
<form method=\"post\" action=\"\" class=\"h-adr\" novalidate>
<span class=\"p-country-name\" style=\"display:none;\">Japan</span>
{{ form_widget(form._token) }}
<h3 class=\"ec-para-normal ec-font-bold\">{{ '1. お客様情報入力 '|trans|nl2br }}<span style=\"color: red; font-weight: 500;\">※は必須項目です</span></h3>
<div class=\"ec-borderedDefs\">
<dl>
<dt>
{{ form_label(form.company, '御社名', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"ec-input{{ has_errors(form.company) ? ' error' }}\">
{{ form_widget(form.company) }}
{{ form_errors(form.company) }}
</div>
</dd>
</dl>
<dl>
<dt>
{{ form_label(form.name, 'ご担当者様氏名', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"ec-input{{ has_errors(form.name) ? ' error' }}\">
{{ form_widget(form.name) }}
{{ form_errors(form.name) }}
</div>
</dd>
</dl>
<dl>
<dt>
{{ form_label(form.address, '住所', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"ec-zipInput{{ has_errors(form.postal_code) ? ' error' }}\">
<span>{{ '〒'|trans }}</span>
{{ form_widget(form.postal_code) }}
<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': '番地・ビル名 (例:1-3-5)' , 'style' : 'margin-bottom: 0px;'}}) }}
{{ form_errors(form.address.addr02) }}
</div>
<p style=\"color:red;margin-top: 5px;\">住所は2つに分けてご記入ください。マンション名は必ず記入してください。</p>
</dd>
</dl>
<dl>
<dt>
{{ form_label(form.phone_number, 'お電話番号', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"ec-telInput{{ has_errors(form.phone_number) ? ' error' }}\">
{{ form_widget(form.phone_number) }}
{{ form_errors(form.phone_number) }}
</div>
</dd>
</dl>
<dl>
<dt>
{{ form_label(form.fax, 'FAX番号', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"ec-input{{ has_errors(form.fax) ? ' error' }}\">
{{ form_widget(form.fax) }}
{{ form_errors(form.fax) }}
</div>
</dd>
</dl>
<dl>
<dt>
{{ form_label(form.email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"ec-input{{ has_errors(form.email) ? ' error' }}\">
{{ form_widget(form.email) }}
{{ form_errors(form.email) }}
</div>
</dd>
</dl>
<dl>
<dt>
{{ form_label(form.type, \"お店の分類\", { 'label_attr': { 'class': 'ec-label' }}) }}
<br>(初めてご注文のお客様
<br>は必ずご選択ください)
</dt>
<dd>
<div class=\"ec-select{{ has_errors(form.type) ? ' error' }}\">
{{ form_widget(form.type) }}
{{ form_errors(form.type) }}
<br>その他
{{ form_widget(form.etc) }}
{{ form_errors(form.etc) }}
</div>
</dd>
</dl>
</div>
<h3 class=\"ec-para-normal ec-font-bold\">{{ '2. ご注文内容'|trans|nl2br }}</h3>
<div class=\"ec-borderedDefs\">
<table>
<tbody>
<tr>
<th>
\
</th>
<th>
商品
</th>
<th>
数量
</th>
<th>
ネームプリント
</th>
<th>
版代
</th>
<th>
プリント色
</th>
</tr>
{% for i in range(1, 8) %}
<tr>
<td>{{i}}</td>
<td>
商品コード<br>
{{ form_widget(form['order_detail_block']['product_code' ~ i]) }}
{{ form_errors(form['order_detail_block']['product_code' ~ i]) }}
<br>商品名<br>
{{ form_widget(form['order_detail_block']['product_name' ~ i]) }}
{{ form_errors(form['order_detail_block']['product_name' ~ i]) }}
</td>
<td>
{{ form_widget(form['order_detail_block']['quantity' ~ i]) }}枚
{{ form_errors(form['order_detail_block']['quantity' ~ i]) }}
</td>
<td>
{{ form_widget(form['order_detail_block']['print' ~ i]) }}
{{ form_errors(form['order_detail_block']['print' ~ i]) }}
</td>
<td>
{{ form_widget(form['order_detail_block']['han' ~ i]) }}
{{ form_errors(form['order_detail_block']['han' ~ i]) }}
</td>
<td>
{{ form_widget(form['order_detail_block']['color' ~ i]) }}
{{ form_errors(form['order_detail_block']['color' ~ i]) }}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<h3 class=\"ec-para-normal ec-font-bold\">{{ '3. 備考'|trans|nl2br }}</h3>
<div class=\"ec-borderedDefs\">
<dl>
<dt>
{{ form_label(form.memo, '備考', { 'label_attr': { 'class': 'ec-label' }}) }}
</dt>
<dd>
<div class=\"ec-input{{ has_errors(form.memo) ? ' error' }}\">
{{ form_widget(form.memo) }}
{{ form_errors(form.memo) }}
</div>
</dd>
</dl>
</div>
<div class=\"ec-RegisterRole__actions\">
<div class=\"ec-off4Grid\">
<div class=\"ec-off4Grid__cell\">
<button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">{{ '確認ページへ'|trans }}
</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
{% endblock %}
", "OrderForm/index.twig", "/virtual/adnet/public_html/lemanze.awe.jp/app/template/default/OrderForm/index.twig");
}
}