var/cache/dev/twig/03/03e66d533b2753c21883b8a9df930960d9220415794cf96d212435176840faba.php line 39

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* ProductReview42/Resource/template/default/index.twig */
  14. class __TwigTemplate_945724d5a37b6b6801b4154821442cd41a7eaa855fb3d326f9729d271febf80c extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'stylesheet' => [$this'block_stylesheet'],
  24.             'main' => [$this'block_main'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "fullwidth_frame.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProductReview42/Resource/template/default/index.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProductReview42/Resource/template/default/index.twig"));
  39.         // line 3
  40.         $context["body_class"] = "product_review";
  41.         // line 5
  42.         $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.'5$this->source); })()), [=> "Form/form_div_layout.twig"], true);
  43.         // line 1
  44.         $this->parent $this->loadTemplate("fullwidth_frame.twig""ProductReview42/Resource/template/default/index.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  48.         
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  50.     }
  51.     // line 7
  52.     public function block_stylesheet($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  59.         // line 8
  60.         echo "    <style>
  61.         #product_review_recommend_level {
  62.             display: flex;
  63.             flex-direction: column;
  64.             flex-wrap: wrap;
  65.         }
  66.         #product_review_recommend_level label {
  67.             position: relative;
  68.             bottom: 18px;
  69.             left: 20px;
  70.             line-height: 0;
  71.         }
  72.     </style>
  73. ";
  74.         
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  76.         
  77.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  78.     }
  79.     // line 23
  80.     public function block_main($context, array $blocks = [])
  81.     {
  82.         $macros $this->macros;
  83.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  84.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  85.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  86.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  87.         // line 24
  88.         echo "<div class=\"home_title__inner\">
  89.     <h2 class=\"home_ja_title\">";
  90.         // line 25
  91.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_review.front.review.title"), "html"nulltrue);
  92.         echo "</h2>
  93. </div><!--/.home_title__inner-->
  94. <section class=\"page_section\">
  95.     <div class=\"page_container\">
  96.         <p class=\"ec-para-nomal\">";
  97.         // line 29
  98.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_review.front.review.description"), "html"nulltrue);
  99.         echo "</p>
  100.         <div class=\"form_all_wrap\">
  101.            <form method=\"post\" action=\"";
  102.         // line 32
  103.         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.'32$this->source); })()), "id", [], "any"falsefalsefalse32)]), "html"nulltrue);
  104.         echo "\">
  105.                ";
  106.         // line 33
  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.'33$this->source); })()), "_token", [], "any"falsefalsefalse33), 'widget');
  108.         echo "
  109.                <div class=\"ec-borderedDefs\">
  110.                    ";
  111.         // line 36
  112.         echo "                   <dl>
  113.                        <dt>
  114.                            <label class=\"ec-label\">";
  115.         // line 38
  116.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_review.front.review.product_name"), "html"nulltrue);
  117.         echo "</label>
  118.                        </dt>
  119.                        <dd>
  120.                            <div class=\"ec-input\">
  121.                                ";
  122.         // line 42
  123.         echo twig_escape_filter($this->envtwig_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.'42$this->source); })()), "name", [], "any"falsefalsefalse42), "html"nulltrue);
  124.         echo "
  125.                            </div>
  126.                        </dd>
  127.                    </dl>
  128.                    ";
  129.         // line 47
  130.         echo "                   <dl>
  131.                        <dt>
  132.                            ";
  133.         // line 49
  134.         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.'49$this->source); })()), "reviewer_name", [], "any"falsefalsefalse49), 'label', ["label_attr" => ["class" => "ec-label"]]);
  135.         echo "
  136.                        </dt>
  137.                        <dd>
  138.                            <div class=\"ec-input";
  139.         // line 52
  140.         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.'52$this->source); })()), "reviewer_name", [], "any"falsefalsefalse52))) ? (" error") : (""));
  141.         echo "\">
  142.                                ";
  143.         // line 53
  144.         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.'53$this->source); })()), "reviewer_name", [], "any"falsefalsefalse53), 'widget');
  145.         echo "
  146.                                ";
  147.         // line 54
  148.         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.'54$this->source); })()), "reviewer_name", [], "any"falsefalsefalse54), 'errors');
  149.         echo "
  150.                            </div>
  151.                        </dd>
  152.                    </dl>
  153.                    ";
  154.         // line 59
  155.         echo "                   <dl>
  156.                        <dt>
  157.                            ";
  158.         // line 61
  159.         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.'61$this->source); })()), "reviewer_url", [], "any"falsefalsefalse61), 'label', ["label_attr" => ["class" => "ec-label"]]);
  160.         echo "
  161.                        </dt>
  162.                        <dd>
  163.                            <div class=\"ec-input";
  164.         // line 64
  165.         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.'64$this->source); })()), "reviewer_url", [], "any"falsefalsefalse64))) ? (" error") : (""));
  166.         echo "\">
  167.                                ";
  168.         // line 65
  169.         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.'65$this->source); })()), "reviewer_url", [], "any"falsefalsefalse65), 'widget');
  170.         echo "
  171.                                ";
  172.         // line 66
  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.'66$this->source); })()), "reviewer_url", [], "any"falsefalsefalse66), 'errors');
  174.         echo "
  175.                            </div>
  176.                        </dd>
  177.                    </dl>
  178.                    ";
  179.         // line 71
  180.         echo "                   <dl>
  181.                        <dt>
  182.                            ";
  183.         // line 73
  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.'73$this->source); })()), "sex", [], "any"falsefalsefalse73), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "common.gender"]);
  185.         echo "
  186.                        </dt>
  187.                        <dd>
  188.                            <div class=\"ec-radio";
  189.         // line 76
  190.         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.'76$this->source); })()), "sex", [], "any"falsefalsefalse76))) ? (" error") : (""));
  191.         echo "\">
  192.                                ";
  193.         // line 77
  194.         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.'77$this->source); })()), "sex", [], "any"falsefalsefalse77), 'widget');
  195.         echo "
  196.                                ";
  197.         // line 78
  198.         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.'78$this->source); })()), "sex", [], "any"falsefalsefalse78), 'errors');
  199.         echo "
  200.                            </div>
  201.                        </dd>
  202.                    </dl>
  203.                    ";
  204.         // line 83
  205.         echo "                   <dl>
  206.                        <dt>
  207.                            ";
  208.         // line 85
  209.         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.'85$this->source); })()), "recommend_level", [], "any"falsefalsefalse85), 'label', ["label_attr" => ["class" => "ec-label"]]);
  210.         echo "
  211.                        </dt>
  212.                        <dd>
  213.                            <div class=\"ec-radio";
  214.         // line 88
  215.         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.'88$this->source); })()), "recommend_level", [], "any"falsefalsefalse88))) ? (" error") : (""));
  216.         echo "\">
  217.                                ";
  218.         // line 89
  219.         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.'89$this->source); })()), "recommend_level", [], "any"falsefalsefalse89), 'widget');
  220.         echo "
  221.                                ";
  222.         // line 90
  223.         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.'90$this->source); })()), "recommend_level", [], "any"falsefalsefalse90), 'errors');
  224.         echo "
  225.                            </div>
  226.                        </dd>
  227.                    </dl>
  228.                    ";
  229.         // line 95
  230.         echo "                   <dl>
  231.                        <dt>
  232.                            ";
  233.         // line 97
  234.         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.'97$this->source); })()), "title", [], "any"falsefalsefalse97), 'label', ["label_attr" => ["class" => "ec-label"]]);
  235.         echo "
  236.                        </dt>
  237.                        <dd>
  238.                            <div class=\"ec-input";
  239.         // line 100
  240.         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.'100$this->source); })()), "title", [], "any"falsefalsefalse100))) ? (" error") : (""));
  241.         echo "\">
  242.                                ";
  243.         // line 101
  244.         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.'101$this->source); })()), "title", [], "any"falsefalsefalse101), 'widget');
  245.         echo "
  246.                                ";
  247.         // line 102
  248.         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.'102$this->source); })()), "title", [], "any"falsefalsefalse102), 'errors');
  249.         echo "
  250.                            </div>
  251.                        </dd>
  252.                    </dl>
  253.                    ";
  254.         // line 107
  255.         echo "                   <dl>
  256.                        <dt>
  257.                            ";
  258.         // line 109
  259.         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.'109$this->source); })()), "comment", [], "any"falsefalsefalse109), 'label', ["label_attr" => ["class" => "ec-label"]]);
  260.         echo "
  261.                        </dt>
  262.                        <dd>
  263.                            <div class=\"ec-input";
  264.         // line 112
  265.         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.'112$this->source); })()), "comment", [], "any"falsefalsefalse112))) ? (" error") : (""));
  266.         echo "\">
  267.                                ";
  268.         // line 113
  269.         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.'113$this->source); })()), "comment", [], "any"falsefalsefalse113), 'widget');
  270.         echo "
  271.                                ";
  272.         // line 114
  273.         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); })()), "comment", [], "any"falsefalsefalse114), 'errors');
  274.         echo "
  275.                            </div>
  276.                        </dd>
  277.                    </dl>
  278.                </div>
  279.                <div class=\"ec-registerRole__actions\">
  280.                    <div class=\"ec-off4Grid\">
  281.                        <div class=\"ec-off4Grid__cell\">
  282.                            <button class=\"ec-blockBtn--action\" type=\"submit\" name=\"mode\"
  283.                                    value=\"confirm\">";
  284.         // line 123
  285.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_review.front.review.confirm"), "html"nulltrue);
  286.         echo "</button>
  287.                            <a class=\"ec-blockBtn--cancel\"
  288.                               href=\"";
  289.         // line 125
  290.         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.'125$this->source); })()), "id", [], "any"falsefalsefalse125)]), "html"nulltrue);
  291.         echo "\">";
  292.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_review.front.review.back"), "html"nulltrue);
  293.         echo "</a>
  294.                        </div>
  295.                    </div>
  296.                </div>
  297.            </form>
  298.         </div>
  299.     </div><!--/.page_container-->
  300. </section>
  301. ";
  302.         
  303.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  304.         
  305.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  306.     }
  307.     public function getTemplateName()
  308.     {
  309.         return "ProductReview42/Resource/template/default/index.twig";
  310.     }
  311.     public function isTraitable()
  312.     {
  313.         return false;
  314.     }
  315.     public function getDebugInfo()
  316.     {
  317.         return array (  310 => 125,  305 => 123,  293 => 114,  289 => 113,  285 => 112,  279 => 109,  275 => 107,  268 => 102,  264 => 101,  260 => 100,  254 => 97,  250 => 95,  243 => 90,  239 => 89,  235 => 88,  229 => 85,  225 => 83,  218 => 78,  214 => 77,  210 => 76,  204 => 73,  200 => 71,  193 => 66,  189 => 65,  185 => 64,  179 => 61,  175 => 59,  168 => 54,  164 => 53,  160 => 52,  154 => 49,  150 => 47,  143 => 42,  136 => 38,  132 => 36,  127 => 33,  123 => 32,  117 => 29,  110 => 25,  107 => 24,  97 => 23,  74 => 8,  64 => 7,  53 => 1,  51 => 5,  49 => 3,  36 => 1,);
  318.     }
  319.     public function getSourceContext()
  320.     {
  321.         return new Source("{% extends 'fullwidth_frame.twig' %}
  322. {% set body_class = 'product_review' %}
  323. {% form_theme form 'Form/form_div_layout.twig' %}
  324. {% block stylesheet %}
  325.     <style>
  326.         #product_review_recommend_level {
  327.             display: flex;
  328.             flex-direction: column;
  329.             flex-wrap: wrap;
  330.         }
  331.         #product_review_recommend_level label {
  332.             position: relative;
  333.             bottom: 18px;
  334.             left: 20px;
  335.             line-height: 0;
  336.         }
  337.     </style>
  338. {% endblock %}
  339. {% block main %}
  340. <div class=\"home_title__inner\">
  341.     <h2 class=\"home_ja_title\">{{ 'product_review.front.review.title'|trans }}</h2>
  342. </div><!--/.home_title__inner-->
  343. <section class=\"page_section\">
  344.     <div class=\"page_container\">
  345.         <p class=\"ec-para-nomal\">{{ 'product_review.front.review.description'|trans }}</p>
  346.         <div class=\"form_all_wrap\">
  347.            <form method=\"post\" action=\"{{ url('product_review_index', { id: Product.id }) }}\">
  348.                {{ form_widget(form._token) }}
  349.                <div class=\"ec-borderedDefs\">
  350.                    {# 商品名 #}
  351.                    <dl>
  352.                        <dt>
  353.                            <label class=\"ec-label\">{{ 'product_review.front.review.product_name'|trans }}</label>
  354.                        </dt>
  355.                        <dd>
  356.                            <div class=\"ec-input\">
  357.                                {{ Product.name }}
  358.                            </div>
  359.                        </dd>
  360.                    </dl>
  361.                    {# 投稿者名 #}
  362.                    <dl>
  363.                        <dt>
  364.                            {{ form_label(form.reviewer_name, '', {'label_attr': {'class': 'ec-label'}}) }}
  365.                        </dt>
  366.                        <dd>
  367.                            <div class=\"ec-input{{ has_errors(form.reviewer_name) ? ' error' }}\">
  368.                                {{ form_widget(form.reviewer_name) }}
  369.                                {{ form_errors(form.reviewer_name) }}
  370.                            </div>
  371.                        </dd>
  372.                    </dl>
  373.                    {# 投稿者URL #}
  374.                    <dl>
  375.                        <dt>
  376.                            {{ form_label(form.reviewer_url, '', {'label_attr': {'class': 'ec-label'}}) }}
  377.                        </dt>
  378.                        <dd>
  379.                            <div class=\"ec-input{{ has_errors(form.reviewer_url) ? ' error' }}\">
  380.                                {{ form_widget(form.reviewer_url) }}
  381.                                {{ form_errors(form.reviewer_url) }}
  382.                            </div>
  383.                        </dd>
  384.                    </dl>
  385.                    {# 性別 #}
  386.                    <dl>
  387.                        <dt>
  388.                            {{ form_label(form.sex, 'common.gender', {'label_attr': {'class': 'ec-label'}}) }}
  389.                        </dt>
  390.                        <dd>
  391.                            <div class=\"ec-radio{{ has_errors(form.sex) ? ' error' }}\">
  392.                                {{ form_widget(form.sex) }}
  393.                                {{ form_errors(form.sex) }}
  394.                            </div>
  395.                        </dd>
  396.                    </dl>
  397.                    {# おすすめレベル #}
  398.                    <dl>
  399.                        <dt>
  400.                            {{ form_label(form.recommend_level, '', {'label_attr': {'class': 'ec-label'}}) }}
  401.                        </dt>
  402.                        <dd>
  403.                            <div class=\"ec-radio{{ has_errors(form.recommend_level) ? ' error' }}\">
  404.                                {{ form_widget(form.recommend_level) }}
  405.                                {{ form_errors(form.recommend_level) }}
  406.                            </div>
  407.                        </dd>
  408.                    </dl>
  409.                    {# タイトル #}
  410.                    <dl>
  411.                        <dt>
  412.                            {{ form_label(form.title, '', {'label_attr': {'class': 'ec-label'}}) }}
  413.                        </dt>
  414.                        <dd>
  415.                            <div class=\"ec-input{{ has_errors(form.title) ? ' error' }}\">
  416.                                {{ form_widget(form.title) }}
  417.                                {{ form_errors(form.title) }}
  418.                            </div>
  419.                        </dd>
  420.                    </dl>
  421.                    {# コメント #}
  422.                    <dl>
  423.                        <dt>
  424.                            {{ form_label(form.comment, '', {'label_attr': {'class': 'ec-label'}}) }}
  425.                        </dt>
  426.                        <dd>
  427.                            <div class=\"ec-input{{ has_errors(form.comment) ? ' error' }}\">
  428.                                {{ form_widget(form.comment) }}
  429.                                {{ form_errors(form.comment) }}
  430.                            </div>
  431.                        </dd>
  432.                    </dl>
  433.                </div>
  434.                <div class=\"ec-registerRole__actions\">
  435.                    <div class=\"ec-off4Grid\">
  436.                        <div class=\"ec-off4Grid__cell\">
  437.                            <button class=\"ec-blockBtn--action\" type=\"submit\" name=\"mode\"
  438.                                    value=\"confirm\">{{ 'product_review.front.review.confirm'|trans }}</button>
  439.                            <a class=\"ec-blockBtn--cancel\"
  440.                               href=\"{{ url('product_detail', { id: Product.id }) }}\">{{ 'product_review.front.review.back'|trans }}</a>
  441.                        </div>
  442.                    </div>
  443.                </div>
  444.            </form>
  445.         </div>
  446.     </div><!--/.page_container-->
  447. </section>
  448. {% endblock %}
  449. ""ProductReview42/Resource/template/default/index.twig""/home/xs626321/ikus.furniture/public_html/dev/app/template/default/ProductReview42/Resource/template/default/index.twig");
  450.     }
  451. }