<?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;
/* ProductReview4/Resource/template/default/index.twig */
class __TwigTemplate_150516c3b8e98e8b4999e6455baa9727c38d73f1e1a78cd2a69513a7bc6f3fac extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheet' => [$this, 'block_stylesheet'],
'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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProductReview4/Resource/template/default/index.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ProductReview4/Resource/template/default/index.twig"));
// line 13
$context["body_class"] = "product_review";
// 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", "ProductReview4/Resource/template/default/index.twig", 11);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 17
public function block_stylesheet($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
// line 18
echo " <style>
#product_review_recommend_level {
display: flex;
flex-direction: column;
flex-wrap: wrap;
}
#product_review_recommend_level label {
position: relative;
bottom: 18px;
left: 20px;
line-height: 0;
}
</style>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 33
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 34
echo " <div class=\"ec-registerRole\">
<div class=\"ec-pageHeader\">
<h1>";
// line 36
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_review.front.review.title"), "html", null, true);
echo "</h1>
</div>
<div class=\"ec-off1Grid\">
<div class=\"ec-off1Grid__cell\">
<form method=\"post\" action=\"";
// line 40
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_review_index", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 40, $this->source); })()), "id", [], "any", false, false, false, 40)]), "html", null, true);
echo "\">
";
// line 41
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.', 41, $this->source); })()), "_token", [], "any", false, false, false, 41), 'widget');
echo "
<p class=\"ec-para-nomal\">";
// line 42
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_review.front.review.description"), "html", null, true);
echo "</p>
<div class=\"ec-borderedDefs\">
";
// line 45
echo " <dl>
<dt>
<label class=\"ec-label\">";
// line 47
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_review.front.review.product_name"), "html", null, true);
echo "</label>
</dt>
<dd>
<div class=\"ec-input\">
";
// line 51
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 51, $this->source); })()), "name", [], "any", false, false, false, 51), "html", null, true);
echo "
</div>
</dd>
</dl>
";
// line 56
echo " <dl>
<dt>
";
// line 58
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.', 58, $this->source); })()), "reviewer_name", [], "any", false, false, false, 58), 'label', ["label_attr" => ["class" => "ec-label"]]);
echo "
</dt>
<dd>
<div class=\"ec-input";
// line 61
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.', 61, $this->source); })()), "reviewer_name", [], "any", false, false, false, 61))) ? (" error") : (""));
echo "\">
";
// line 62
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.', 62, $this->source); })()), "reviewer_name", [], "any", false, false, false, 62), 'widget');
echo "
";
// line 63
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.', 63, $this->source); })()), "reviewer_name", [], "any", false, false, false, 63), 'errors');
echo "
</div>
</dd>
</dl>
";
// line 68
echo " <dl>
<dt>
";
// line 70
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.', 70, $this->source); })()), "reviewer_url", [], "any", false, false, false, 70), 'label', ["label_attr" => ["class" => "ec-label"]]);
echo "
</dt>
<dd>
<div class=\"ec-input";
// line 73
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.', 73, $this->source); })()), "reviewer_url", [], "any", false, false, false, 73))) ? (" error") : (""));
echo "\">
";
// line 74
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.', 74, $this->source); })()), "reviewer_url", [], "any", false, false, false, 74), 'widget');
echo "
";
// line 75
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.', 75, $this->source); })()), "reviewer_url", [], "any", false, false, false, 75), 'errors');
echo "
</div>
</dd>
</dl>
";
// line 80
echo " <dl>
<dt>
";
// line 82
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.', 82, $this->source); })()), "sex", [], "any", false, false, false, 82), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "common.gender"]);
echo "
</dt>
<dd>
<div class=\"ec-radio";
// line 85
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.', 85, $this->source); })()), "sex", [], "any", false, false, false, 85))) ? (" error") : (""));
echo "\">
";
// line 86
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.', 86, $this->source); })()), "sex", [], "any", false, false, false, 86), 'widget');
echo "
";
// line 87
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.', 87, $this->source); })()), "sex", [], "any", false, false, false, 87), 'errors');
echo "
</div>
</dd>
</dl>
";
// line 92
echo " <dl>
<dt>
";
// line 94
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.', 94, $this->source); })()), "recommend_level", [], "any", false, false, false, 94), 'label', ["label_attr" => ["class" => "ec-label"]]);
echo "
</dt>
<dd>
<div class=\"ec-radio";
// line 97
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.', 97, $this->source); })()), "recommend_level", [], "any", false, false, false, 97))) ? (" error") : (""));
echo "\">
";
// 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); })()), "recommend_level", [], "any", false, false, false, 98), 'widget');
echo "
";
// line 99
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.', 99, $this->source); })()), "recommend_level", [], "any", false, false, false, 99), 'errors');
echo "
</div>
</dd>
</dl>
";
// line 104
echo " <dl>
<dt>
";
// line 106
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.', 106, $this->source); })()), "title", [], "any", false, false, false, 106), 'label', ["label_attr" => ["class" => "ec-label"]]);
echo "
</dt>
<dd>
<div class=\"ec-input";
// line 109
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.', 109, $this->source); })()), "title", [], "any", false, false, false, 109))) ? (" error") : (""));
echo "\">
";
// line 110
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.', 110, $this->source); })()), "title", [], "any", false, false, false, 110), 'widget');
echo "
";
// line 111
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.', 111, $this->source); })()), "title", [], "any", false, false, false, 111), 'errors');
echo "
</div>
</dd>
</dl>
";
// line 116
echo " <dl>
<dt>
";
// 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); })()), "comment", [], "any", false, false, false, 118), 'label', ["label_attr" => ["class" => "ec-label"]]);
echo "
</dt>
<dd>
<div class=\"ec-input";
// line 121
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.', 121, $this->source); })()), "comment", [], "any", false, false, false, 121))) ? (" error") : (""));
echo "\">
";
// line 122
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.', 122, $this->source); })()), "comment", [], "any", false, false, false, 122), 'widget');
echo "
";
// line 123
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.', 123, $this->source); })()), "comment", [], "any", false, false, false, 123), 'errors');
echo "
</div>
</dd>
</dl>
</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 132
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_review.front.review.confirm"), "html", null, true);
echo "</button>
<a class=\"ec-blockBtn--cancel\"
href=\"";
// line 134
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 134, $this->source); })()), "id", [], "any", false, false, false, 134)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_review.front.review.back"), "html", null, true);
echo "</a>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "ProductReview4/Resource/template/default/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 309 => 134, 304 => 132, 292 => 123, 288 => 122, 284 => 121, 278 => 118, 274 => 116, 267 => 111, 263 => 110, 259 => 109, 253 => 106, 249 => 104, 242 => 99, 238 => 98, 234 => 97, 228 => 94, 224 => 92, 217 => 87, 213 => 86, 209 => 85, 203 => 82, 199 => 80, 192 => 75, 188 => 74, 184 => 73, 178 => 70, 174 => 68, 167 => 63, 163 => 62, 159 => 61, 153 => 58, 149 => 56, 142 => 51, 135 => 47, 131 => 45, 126 => 42, 122 => 41, 118 => 40, 111 => 36, 107 => 34, 97 => 33, 74 => 18, 64 => 17, 53 => 11, 51 => 15, 49 => 13, 36 => 11,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE
Copyright(c) LOCKON CO.,LTD. All Rights Reserved.
http://www.lockon.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 = 'product_review' %}
{% form_theme form 'Form/form_div_layout.twig' %}
{% block stylesheet %}
<style>
#product_review_recommend_level {
display: flex;
flex-direction: column;
flex-wrap: wrap;
}
#product_review_recommend_level label {
position: relative;
bottom: 18px;
left: 20px;
line-height: 0;
}
</style>
{% endblock %}
{% block main %}
<div class=\"ec-registerRole\">
<div class=\"ec-pageHeader\">
<h1>{{ 'product_review.front.review.title'|trans }}</h1>
</div>
<div class=\"ec-off1Grid\">
<div class=\"ec-off1Grid__cell\">
<form method=\"post\" action=\"{{ url('product_review_index', { id: Product.id }) }}\">
{{ form_widget(form._token) }}
<p class=\"ec-para-nomal\">{{ 'product_review.front.review.description'|trans }}</p>
<div class=\"ec-borderedDefs\">
{# 商品名 #}
<dl>
<dt>
<label class=\"ec-label\">{{ 'product_review.front.review.product_name'|trans }}</label>
</dt>
<dd>
<div class=\"ec-input\">
{{ Product.name }}
</div>
</dd>
</dl>
{# 投稿者名 #}
<dl>
<dt>
{{ form_label(form.reviewer_name, '', {'label_attr': {'class': 'ec-label'}}) }}
</dt>
<dd>
<div class=\"ec-input{{ has_errors(form.reviewer_name) ? ' error' }}\">
{{ form_widget(form.reviewer_name) }}
{{ form_errors(form.reviewer_name) }}
</div>
</dd>
</dl>
{# 投稿者URL #}
<dl>
<dt>
{{ form_label(form.reviewer_url, '', {'label_attr': {'class': 'ec-label'}}) }}
</dt>
<dd>
<div class=\"ec-input{{ has_errors(form.reviewer_url) ? ' error' }}\">
{{ form_widget(form.reviewer_url) }}
{{ form_errors(form.reviewer_url) }}
</div>
</dd>
</dl>
{# 性別 #}
<dl>
<dt>
{{ form_label(form.sex, 'common.gender', {'label_attr': {'class': 'ec-label'}}) }}
</dt>
<dd>
<div class=\"ec-radio{{ has_errors(form.sex) ? ' error' }}\">
{{ form_widget(form.sex) }}
{{ form_errors(form.sex) }}
</div>
</dd>
</dl>
{# おすすめレベル #}
<dl>
<dt>
{{ form_label(form.recommend_level, '', {'label_attr': {'class': 'ec-label'}}) }}
</dt>
<dd>
<div class=\"ec-radio{{ has_errors(form.recommend_level) ? ' error' }}\">
{{ form_widget(form.recommend_level) }}
{{ form_errors(form.recommend_level) }}
</div>
</dd>
</dl>
{# タイトル #}
<dl>
<dt>
{{ form_label(form.title, '', {'label_attr': {'class': 'ec-label'}}) }}
</dt>
<dd>
<div class=\"ec-input{{ has_errors(form.title) ? ' error' }}\">
{{ form_widget(form.title) }}
{{ form_errors(form.title) }}
</div>
</dd>
</dl>
{# コメント #}
<dl>
<dt>
{{ form_label(form.comment, '', {'label_attr': {'class': 'ec-label'}}) }}
</dt>
<dd>
<div class=\"ec-input{{ has_errors(form.comment) ? ' error' }}\">
{{ form_widget(form.comment) }}
{{ form_errors(form.comment) }}
</div>
</dd>
</dl>
</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\">{{ 'product_review.front.review.confirm'|trans }}</button>
<a class=\"ec-blockBtn--cancel\"
href=\"{{ url('product_detail', { id: Product.id }) }}\">{{ 'product_review.front.review.back'|trans }}</a>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
{% endblock %}
", "ProductReview4/Resource/template/default/index.twig", "/home/nissinhamonline/www/demo/app/template/nissinham/ProductReview4/Resource/template/default/index.twig");
}
}