var/cache/dev/twig/1d/1d780370108932e472ae529fdc0ac90ddf107eeeb640bf20cabaf6547ca6f4b1.php line 54

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. /* ProductReview4/Resource/template/default/index.twig */
  14. class __TwigTemplate_150516c3b8e98e8b4999e6455baa9727c38d73f1e1a78cd2a69513a7bc6f3fac 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 11
  30.         return "default_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""ProductReview4/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""ProductReview4/Resource/template/default/index.twig"));
  39.         // line 13
  40.         $context["body_class"] = "product_review";
  41.         // line 15
  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.'15$this->source); })()), [=> "Form/form_div_layout.twig"], true);
  43.         // line 11
  44.         $this->parent $this->loadTemplate("default_frame.twig""ProductReview4/Resource/template/default/index.twig"11);
  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 17
  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 18
  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 33
  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 34
  88.         echo "    <div class=\"ec-registerRole\">
  89.         <div class=\"ec-pageHeader\">
  90.             <h1>";
  91.         // line 36
  92.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_review.front.review.title"), "html"nulltrue);
  93.         echo "</h1>
  94.         </div>
  95.         <div class=\"ec-off1Grid\">
  96.             <div class=\"ec-off1Grid__cell\">
  97.                 <form method=\"post\" action=\"";
  98.         // line 40
  99.         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"falsefalsefalse40)]), "html"nulltrue);
  100.         echo "\">
  101.                     ";
  102.         // line 41
  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.'41$this->source); })()), "_token", [], "any"falsefalsefalse41), 'widget');
  104.         echo "
  105.                     <p class=\"ec-para-nomal\">";
  106.         // line 42
  107.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_review.front.review.description"), "html"nulltrue);
  108.         echo "</p>
  109.                     <div class=\"ec-borderedDefs\">
  110.                         ";
  111.         // line 45
  112.         echo "                        <dl>
  113.                             <dt>
  114.                                 <label class=\"ec-label\">";
  115.         // line 47
  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 51
  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.'51$this->source); })()), "name", [], "any"falsefalsefalse51), "html"nulltrue);
  124.         echo "
  125.                                 </div>
  126.                             </dd>
  127.                         </dl>
  128.                         ";
  129.         // line 56
  130.         echo "                        <dl>
  131.                             <dt>
  132.                                 ";
  133.         // line 58
  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.'58$this->source); })()), "reviewer_name", [], "any"falsefalsefalse58), 'label', ["label_attr" => ["class" => "ec-label"]]);
  135.         echo "
  136.                             </dt>
  137.                             <dd>
  138.                                 <div class=\"ec-input";
  139.         // line 61
  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.'61$this->source); })()), "reviewer_name", [], "any"falsefalsefalse61))) ? (" error") : (""));
  141.         echo "\">
  142.                                     ";
  143.         // line 62
  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.'62$this->source); })()), "reviewer_name", [], "any"falsefalsefalse62), 'widget');
  145.         echo "
  146.                                     ";
  147.         // line 63
  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.'63$this->source); })()), "reviewer_name", [], "any"falsefalsefalse63), 'errors');
  149.         echo "
  150.                                 </div>
  151.                             </dd>
  152.                         </dl>
  153.                         ";
  154.         // line 68
  155.         echo "                        <dl>
  156.                             <dt>
  157.                                 ";
  158.         // line 70
  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.'70$this->source); })()), "reviewer_url", [], "any"falsefalsefalse70), 'label', ["label_attr" => ["class" => "ec-label"]]);
  160.         echo "
  161.                             </dt>
  162.                             <dd>
  163.                                 <div class=\"ec-input";
  164.         // line 73
  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.'73$this->source); })()), "reviewer_url", [], "any"falsefalsefalse73))) ? (" error") : (""));
  166.         echo "\">
  167.                                     ";
  168.         // line 74
  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.'74$this->source); })()), "reviewer_url", [], "any"falsefalsefalse74), 'widget');
  170.         echo "
  171.                                     ";
  172.         // line 75
  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.'75$this->source); })()), "reviewer_url", [], "any"falsefalsefalse75), 'errors');
  174.         echo "
  175.                                 </div>
  176.                             </dd>
  177.                         </dl>
  178.                         ";
  179.         // line 80
  180.         echo "                        <dl>
  181.                             <dt>
  182.                                 ";
  183.         // line 82
  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.'82$this->source); })()), "sex", [], "any"falsefalsefalse82), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "common.gender"]);
  185.         echo "
  186.                             </dt>
  187.                             <dd>
  188.                                 <div class=\"ec-radio";
  189.         // line 85
  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.'85$this->source); })()), "sex", [], "any"falsefalsefalse85))) ? (" error") : (""));
  191.         echo "\">
  192.                                     ";
  193.         // line 86
  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.'86$this->source); })()), "sex", [], "any"falsefalsefalse86), 'widget');
  195.         echo "
  196.                                     ";
  197.         // line 87
  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.'87$this->source); })()), "sex", [], "any"falsefalsefalse87), 'errors');
  199.         echo "
  200.                                 </div>
  201.                             </dd>
  202.                         </dl>
  203.                         ";
  204.         // line 92
  205.         echo "                        <dl>
  206.                             <dt>
  207.                                 ";
  208.         // line 94
  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.'94$this->source); })()), "recommend_level", [], "any"falsefalsefalse94), 'label', ["label_attr" => ["class" => "ec-label"]]);
  210.         echo "
  211.                             </dt>
  212.                             <dd>
  213.                                 <div class=\"ec-radio";
  214.         // line 97
  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.'97$this->source); })()), "recommend_level", [], "any"falsefalsefalse97))) ? (" error") : (""));
  216.         echo "\">
  217.                                     ";
  218.         // line 98
  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.'98$this->source); })()), "recommend_level", [], "any"falsefalsefalse98), 'widget');
  220.         echo "
  221.                                     ";
  222.         // line 99
  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.'99$this->source); })()), "recommend_level", [], "any"falsefalsefalse99), 'errors');
  224.         echo "
  225.                                 </div>
  226.                             </dd>
  227.                         </dl>
  228.                         ";
  229.         // line 104
  230.         echo "                        <dl>
  231.                             <dt>
  232.                                 ";
  233.         // line 106
  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.'106$this->source); })()), "title", [], "any"falsefalsefalse106), 'label', ["label_attr" => ["class" => "ec-label"]]);
  235.         echo "
  236.                             </dt>
  237.                             <dd>
  238.                                 <div class=\"ec-input";
  239.         // line 109
  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.'109$this->source); })()), "title", [], "any"falsefalsefalse109))) ? (" error") : (""));
  241.         echo "\">
  242.                                     ";
  243.         // line 110
  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.'110$this->source); })()), "title", [], "any"falsefalsefalse110), 'widget');
  245.         echo "
  246.                                     ";
  247.         // line 111
  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.'111$this->source); })()), "title", [], "any"falsefalsefalse111), 'errors');
  249.         echo "
  250.                                 </div>
  251.                             </dd>
  252.                         </dl>
  253.                         ";
  254.         // line 116
  255.         echo "                        <dl>
  256.                             <dt>
  257.                                 ";
  258.         // line 118
  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.'118$this->source); })()), "comment", [], "any"falsefalsefalse118), 'label', ["label_attr" => ["class" => "ec-label"]]);
  260.         echo "
  261.                             </dt>
  262.                             <dd>
  263.                                 <div class=\"ec-input";
  264.         // line 121
  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.'121$this->source); })()), "comment", [], "any"falsefalsefalse121))) ? (" error") : (""));
  266.         echo "\">
  267.                                     ";
  268.         // line 122
  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.'122$this->source); })()), "comment", [], "any"falsefalsefalse122), 'widget');
  270.         echo "
  271.                                     ";
  272.         // line 123
  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.'123$this->source); })()), "comment", [], "any"falsefalsefalse123), '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 132
  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 134
  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.'134$this->source); })()), "id", [], "any"falsefalsefalse134)]), "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>
  300.     </div>
  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 "ProductReview4/Resource/template/default/index.twig";
  310.     }
  311.     public function isTraitable()
  312.     {
  313.         return false;
  314.     }
  315.     public function getDebugInfo()
  316.     {
  317.         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,);
  318.     }
  319.     public function getSourceContext()
  320.     {
  321.         return new Source("{#
  322. This file is part of EC-CUBE
  323. Copyright(c) LOCKON CO.,LTD. All Rights Reserved.
  324. http://www.lockon.co.jp/
  325. For the full copyright and license information, please view the LICENSE
  326. file that was distributed with this source code.
  327. #}
  328. {% extends 'default_frame.twig' %}
  329. {% set body_class = 'product_review' %}
  330. {% form_theme form 'Form/form_div_layout.twig' %}
  331. {% block stylesheet %}
  332.     <style>
  333.         #product_review_recommend_level {
  334.             display: flex;
  335.             flex-direction: column;
  336.             flex-wrap: wrap;
  337.         }
  338.         #product_review_recommend_level label {
  339.             position: relative;
  340.             bottom: 18px;
  341.             left: 20px;
  342.             line-height: 0;
  343.         }
  344.     </style>
  345. {% endblock %}
  346. {% block main %}
  347.     <div class=\"ec-registerRole\">
  348.         <div class=\"ec-pageHeader\">
  349.             <h1>{{ 'product_review.front.review.title'|trans }}</h1>
  350.         </div>
  351.         <div class=\"ec-off1Grid\">
  352.             <div class=\"ec-off1Grid__cell\">
  353.                 <form method=\"post\" action=\"{{ url('product_review_index', { id: Product.id }) }}\">
  354.                     {{ form_widget(form._token) }}
  355.                     <p class=\"ec-para-nomal\">{{ 'product_review.front.review.description'|trans }}</p>
  356.                     <div class=\"ec-borderedDefs\">
  357.                         {# 商品名 #}
  358.                         <dl>
  359.                             <dt>
  360.                                 <label class=\"ec-label\">{{ 'product_review.front.review.product_name'|trans }}</label>
  361.                             </dt>
  362.                             <dd>
  363.                                 <div class=\"ec-input\">
  364.                                     {{ Product.name }}
  365.                                 </div>
  366.                             </dd>
  367.                         </dl>
  368.                         {# 投稿者名 #}
  369.                         <dl>
  370.                             <dt>
  371.                                 {{ form_label(form.reviewer_name, '', {'label_attr': {'class': 'ec-label'}}) }}
  372.                             </dt>
  373.                             <dd>
  374.                                 <div class=\"ec-input{{ has_errors(form.reviewer_name) ? ' error' }}\">
  375.                                     {{ form_widget(form.reviewer_name) }}
  376.                                     {{ form_errors(form.reviewer_name) }}
  377.                                 </div>
  378.                             </dd>
  379.                         </dl>
  380.                         {# 投稿者URL #}
  381.                         <dl>
  382.                             <dt>
  383.                                 {{ form_label(form.reviewer_url, '', {'label_attr': {'class': 'ec-label'}}) }}
  384.                             </dt>
  385.                             <dd>
  386.                                 <div class=\"ec-input{{ has_errors(form.reviewer_url) ? ' error' }}\">
  387.                                     {{ form_widget(form.reviewer_url) }}
  388.                                     {{ form_errors(form.reviewer_url) }}
  389.                                 </div>
  390.                             </dd>
  391.                         </dl>
  392.                         {# 性別 #}
  393.                         <dl>
  394.                             <dt>
  395.                                 {{ form_label(form.sex, 'common.gender', {'label_attr': {'class': 'ec-label'}}) }}
  396.                             </dt>
  397.                             <dd>
  398.                                 <div class=\"ec-radio{{ has_errors(form.sex) ? ' error' }}\">
  399.                                     {{ form_widget(form.sex) }}
  400.                                     {{ form_errors(form.sex) }}
  401.                                 </div>
  402.                             </dd>
  403.                         </dl>
  404.                         {# おすすめレベル #}
  405.                         <dl>
  406.                             <dt>
  407.                                 {{ form_label(form.recommend_level, '', {'label_attr': {'class': 'ec-label'}}) }}
  408.                             </dt>
  409.                             <dd>
  410.                                 <div class=\"ec-radio{{ has_errors(form.recommend_level) ? ' error' }}\">
  411.                                     {{ form_widget(form.recommend_level) }}
  412.                                     {{ form_errors(form.recommend_level) }}
  413.                                 </div>
  414.                             </dd>
  415.                         </dl>
  416.                         {# タイトル #}
  417.                         <dl>
  418.                             <dt>
  419.                                 {{ form_label(form.title, '', {'label_attr': {'class': 'ec-label'}}) }}
  420.                             </dt>
  421.                             <dd>
  422.                                 <div class=\"ec-input{{ has_errors(form.title) ? ' error' }}\">
  423.                                     {{ form_widget(form.title) }}
  424.                                     {{ form_errors(form.title) }}
  425.                                 </div>
  426.                             </dd>
  427.                         </dl>
  428.                         {# コメント #}
  429.                         <dl>
  430.                             <dt>
  431.                                 {{ form_label(form.comment, '', {'label_attr': {'class': 'ec-label'}}) }}
  432.                             </dt>
  433.                             <dd>
  434.                                 <div class=\"ec-input{{ has_errors(form.comment) ? ' error' }}\">
  435.                                     {{ form_widget(form.comment) }}
  436.                                     {{ form_errors(form.comment) }}
  437.                                 </div>
  438.                             </dd>
  439.                         </dl>
  440.                     </div>
  441.                     <div class=\"ec-registerRole__actions\">
  442.                         <div class=\"ec-off4Grid\">
  443.                             <div class=\"ec-off4Grid__cell\">
  444.                                 <button class=\"ec-blockBtn--action\" type=\"submit\" name=\"mode\"
  445.                                         value=\"confirm\">{{ 'product_review.front.review.confirm'|trans }}</button>
  446.                                 <a class=\"ec-blockBtn--cancel\"
  447.                                    href=\"{{ url('product_detail', { id: Product.id }) }}\">{{ 'product_review.front.review.back'|trans }}</a>
  448.                             </div>
  449.                         </div>
  450.                     </div>
  451.                 </form>
  452.             </div>
  453.         </div>
  454.     </div>
  455. {% endblock %}
  456. ""ProductReview4/Resource/template/default/index.twig""/home/nissinhamonline/www/demo/app/template/nissinham/ProductReview4/Resource/template/default/index.twig");
  457.     }
  458. }