var/cache/dev/twig/a5/a55aa741a857ecc694289d0ce36d8398f5918f3496551069ec6e10fd2a587227.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_f558f4e35cfeb72a3e15695d5865355f451215142070762bed718e694f7c2621 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""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 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""ProductReview42/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 ec-review\">
  89.         <ul class=\"breadcrumb p-none\">
  90.             <li class=\"breadcrumb__item\">
  91.                 <a href=\"";
  92.         // line 37
  93.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  94.         echo "\" class=\"breadcrumb__item__link\">
  95.                     ホーム
  96.                 </a>
  97.             </li>
  98.             <li class=\"breadcrumb__item\">
  99.                 <p class=\"breadcrumb__item__arrow\">></p>
  100.             </li>
  101.             <li class=\"breadcrumb__item\">
  102.                 <a href=\"";
  103.         // line 45
  104.         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.'45$this->source); })()), "id", [], "any"falsefalsefalse45)]), "html"nulltrue);
  105.         echo "\" class=\"breadcrumb__item__link\">
  106.                     ";
  107.         // line 46
  108.         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.'46$this->source); })()), "name", [], "any"falsefalsefalse46), "html"nulltrue);
  109.         echo "
  110.                 </a>
  111.             </li>
  112.             <li class=\"breadcrumb__item\">
  113.                 <p class=\"breadcrumb__item__arrow\">></p>
  114.             </li>
  115.             <li class=\"breadcrumb__item\">
  116.                 <p class=\"breadcrumb__item__text\">レビュー投稿</p>
  117.             </li>
  118.         </ul>
  119.         <div class=\"ec-pageHeader text-center\">
  120.             <h1>";
  121.         // line 57
  122.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_review.front.review.title"), "html"nulltrue);
  123.         echo "</h1>
  124.         </div>
  125.         <form method=\"post\" action=\"";
  126.         // line 59
  127.         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.'59$this->source); })()), "id", [], "any"falsefalsefalse59)]), "html"nulltrue);
  128.         echo "\" class=\"ec-review__form\">
  129.             ";
  130.         // line 60
  131.         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.'60$this->source); })()), "_token", [], "any"falsefalsefalse60), 'widget');
  132.         echo "
  133.             <p class=\"ec-para-nomal text-center\">";
  134.         // line 61
  135.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_review.front.review.description"), "html"nulltrue);
  136.         echo "</p>
  137.             <div class=\"ec-borderedDefs\">
  138.                 ";
  139.         // line 64
  140.         echo "                <dl>
  141.                     <dt>
  142.                         <label class=\"ec-label mt-none\">";
  143.         // line 66
  144.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_review.front.review.product_name"), "html"nulltrue);
  145.         echo "</label>
  146.                     </dt>
  147.                     <dd>
  148.                         <div class=\"ec-input\">
  149.                             ";
  150.         // line 70
  151.         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.'70$this->source); })()), "name", [], "any"falsefalsefalse70), "html"nulltrue);
  152.         echo "
  153.                         </div>
  154.                     </dd>
  155.                 </dl>
  156.                 ";
  157.         // line 75
  158.         echo "                <dl>
  159.                     <dt>
  160.                         ";
  161.         // line 77
  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.'77$this->source); })()), "reviewer_name", [], "any"falsefalsefalse77), 'label', ["label_attr" => ["class" => "ec-label"]]);
  163.         echo "
  164.                     </dt>
  165.                     <dd>
  166.                         <div class=\"ec-input";
  167.         // line 80
  168.         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.'80$this->source); })()), "reviewer_name", [], "any"falsefalsefalse80))) ? (" error") : (""));
  169.         echo "\">
  170.                             ";
  171.         // line 81
  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.'81$this->source); })()), "reviewer_name", [], "any"falsefalsefalse81), 'widget');
  173.         echo "
  174.                             ";
  175.         // line 82
  176.         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); })()), "reviewer_name", [], "any"falsefalsefalse82), 'errors');
  177.         echo "
  178.                         </div>
  179.                     </dd>
  180.                 </dl>
  181.                 ";
  182.         // line 87
  183.         echo "                <dl class=\"d-none\">
  184.                     <dt>
  185.                         ";
  186.         // line 89
  187.         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); })()), "reviewer_url", [], "any"falsefalsefalse89), 'label', ["label_attr" => ["class" => "ec-label"]]);
  188.         echo "
  189.                     </dt>
  190.                     <dd>
  191.                         <div class=\"ec-input";
  192.         // line 92
  193.         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.'92$this->source); })()), "reviewer_url", [], "any"falsefalsefalse92))) ? (" error") : (""));
  194.         echo "\">
  195.                             ";
  196.         // line 93
  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.'93$this->source); })()), "reviewer_url", [], "any"falsefalsefalse93), 'widget');
  198.         echo "
  199.                             ";
  200.         // line 94
  201.         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); })()), "reviewer_url", [], "any"falsefalsefalse94), 'errors');
  202.         echo "
  203.                         </div>
  204.                     </dd>
  205.                 </dl>
  206.                 ";
  207.         // line 99
  208.         echo "                <dl class=\"d-none\">
  209.                     <dt>
  210.                         ";
  211.         // line 101
  212.         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); })()), "sex", [], "any"falsefalsefalse101), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "common.gender"]);
  213.         echo "
  214.                     </dt>
  215.                     <dd>
  216.                         <div class=\"ec-radio";
  217.         // line 104
  218.         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.'104$this->source); })()), "sex", [], "any"falsefalsefalse104))) ? (" error") : (""));
  219.         echo "\">
  220.                             ";
  221.         // line 105
  222.         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.'105$this->source); })()), "sex", [], "any"falsefalsefalse105), 'widget');
  223.         echo "
  224.                             ";
  225.         // line 106
  226.         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); })()), "sex", [], "any"falsefalsefalse106), 'errors');
  227.         echo "
  228.                         </div>
  229.                     </dd>
  230.                 </dl>
  231.                 ";
  232.         // line 111
  233.         echo "                <dl>
  234.                     <dt>
  235.                         ";
  236.         // line 113
  237.         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); })()), "recommend_level", [], "any"falsefalsefalse113), 'label', ["label_attr" => ["class" => "ec-label"]]);
  238.         echo "
  239.                     </dt>
  240.                     <dd>
  241.                         <div class=\"ec-radio";
  242.         // line 116
  243.         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.'116$this->source); })()), "recommend_level", [], "any"falsefalsefalse116))) ? (" error") : (""));
  244.         echo "\">
  245.                             ";
  246.         // line 117
  247.         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.'117$this->source); })()), "recommend_level", [], "any"falsefalsefalse117), 'widget');
  248.         echo "
  249.                             ";
  250.         // line 118
  251.         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); })()), "recommend_level", [], "any"falsefalsefalse118), 'errors');
  252.         echo "
  253.                         </div>
  254.                     </dd>
  255.                 </dl>
  256.                 ";
  257.         // line 123
  258.         echo "                <dl>
  259.                     <dt>
  260.                         ";
  261.         // line 125
  262.         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); })()), "title", [], "any"falsefalsefalse125), 'label', ["label_attr" => ["class" => "ec-label"]]);
  263.         echo "
  264.                     </dt>
  265.                     <dd>
  266.                         <div class=\"ec-input";
  267.         // line 128
  268.         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); })()), "title", [], "any"falsefalsefalse128))) ? (" error") : (""));
  269.         echo "\">
  270.                             ";
  271.         // line 129
  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.'129$this->source); })()), "title", [], "any"falsefalsefalse129), 'widget');
  273.         echo "
  274.                             ";
  275.         // line 130
  276.         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); })()), "title", [], "any"falsefalsefalse130), 'errors');
  277.         echo "
  278.                         </div>
  279.                     </dd>
  280.                 </dl>
  281.                 ";
  282.         // line 135
  283.         echo "                <dl>
  284.                     <dt>
  285.                         ";
  286.         // line 137
  287.         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.'137$this->source); })()), "comment", [], "any"falsefalsefalse137), 'label', ["label_attr" => ["class" => "ec-label"]]);
  288.         echo "
  289.                     </dt>
  290.                     <dd>
  291.                         <div class=\"ec-input";
  292.         // line 140
  293.         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.'140$this->source); })()), "comment", [], "any"falsefalsefalse140))) ? (" error") : (""));
  294.         echo "\">
  295.                             ";
  296.         // line 141
  297.         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.'141$this->source); })()), "comment", [], "any"falsefalsefalse141), 'widget');
  298.         echo "
  299.                             ";
  300.         // line 142
  301.         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.'142$this->source); })()), "comment", [], "any"falsefalsefalse142), 'errors');
  302.         echo "
  303.                         </div>
  304.                     </dd>
  305.                 </dl>
  306.             </div>
  307.             <div class=\"ec-RegisterRole__actions\">
  308.                 <div class=\"btn-flex\">
  309.                     <button class=\"ec-blockBtn--action ec-yellow-btn ec-blockBtn\" type=\"submit\" name=\"mode\"
  310.                                 value=\"confirm\">";
  311.         // line 150
  312.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_review.front.review.confirm"), "html"nulltrue);
  313.         echo "</button>
  314.                     <a class=\"ec-blockBtn--cancel ec-blockBtn gray\"
  315.                             href=\"";
  316.         // line 152
  317.         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.'152$this->source); })()), "id", [], "any"falsefalsefalse152)]), "html"nulltrue);
  318.         echo "\">";
  319.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_review.front.review.back"), "html"nulltrue);
  320.         echo "</a>
  321.                 </div>
  322.             </div>
  323.         </form>
  324.     </div>
  325. ";
  326.         
  327.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  328.         
  329.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  330.     }
  331.     public function getTemplateName()
  332.     {
  333.         return "ProductReview42/Resource/template/default/index.twig";
  334.     }
  335.     public function isTraitable()
  336.     {
  337.         return false;
  338.     }
  339.     public function getDebugInfo()
  340.     {
  341.         return array (  336 => 152,  331 => 150,  320 => 142,  316 => 141,  312 => 140,  306 => 137,  302 => 135,  295 => 130,  291 => 129,  287 => 128,  281 => 125,  277 => 123,  270 => 118,  266 => 117,  262 => 116,  256 => 113,  252 => 111,  245 => 106,  241 => 105,  237 => 104,  231 => 101,  227 => 99,  220 => 94,  216 => 93,  212 => 92,  206 => 89,  202 => 87,  195 => 82,  191 => 81,  187 => 80,  181 => 77,  177 => 75,  170 => 70,  163 => 66,  159 => 64,  154 => 61,  150 => 60,  146 => 59,  141 => 57,  127 => 46,  123 => 45,  112 => 37,  107 => 34,  97 => 33,  74 => 18,  64 => 17,  53 => 11,  51 => 15,  49 => 13,  36 => 11,);
  342.     }
  343.     public function getSourceContext()
  344.     {
  345.         return new Source("{#
  346. This file is part of EC-CUBE
  347. Copyright(c) LOCKON CO.,LTD. All Rights Reserved.
  348. http://www.lockon.co.jp/
  349. For the full copyright and license information, please view the LICENSE
  350. file that was distributed with this source code.
  351. #}
  352. {% extends 'default_frame.twig' %}
  353. {% set body_class = 'product_review' %}
  354. {% form_theme form 'Form/form_div_layout.twig' %}
  355. {% block stylesheet %}
  356.     <style>
  357.         #product_review_recommend_level {
  358.             display: flex;
  359.             flex-direction: column;
  360.             flex-wrap: wrap;
  361.         }
  362.         #product_review_recommend_level label {
  363.             position: relative;
  364.             bottom: 18px;
  365.             left: 20px;
  366.             line-height: 0;
  367.         }
  368.     </style>
  369. {% endblock %}
  370. {% block main %}
  371.     <div class=\"ec-registerRole ec-review\">
  372.         <ul class=\"breadcrumb p-none\">
  373.             <li class=\"breadcrumb__item\">
  374.                 <a href=\"{{ url('homepage') }}\" class=\"breadcrumb__item__link\">
  375.                     ホーム
  376.                 </a>
  377.             </li>
  378.             <li class=\"breadcrumb__item\">
  379.                 <p class=\"breadcrumb__item__arrow\">></p>
  380.             </li>
  381.             <li class=\"breadcrumb__item\">
  382.                 <a href=\"{{ url('product_detail', {'id': Product.id}) }}\" class=\"breadcrumb__item__link\">
  383.                     {{ Product.name }}
  384.                 </a>
  385.             </li>
  386.             <li class=\"breadcrumb__item\">
  387.                 <p class=\"breadcrumb__item__arrow\">></p>
  388.             </li>
  389.             <li class=\"breadcrumb__item\">
  390.                 <p class=\"breadcrumb__item__text\">レビュー投稿</p>
  391.             </li>
  392.         </ul>
  393.         <div class=\"ec-pageHeader text-center\">
  394.             <h1>{{ 'product_review.front.review.title'|trans }}</h1>
  395.         </div>
  396.         <form method=\"post\" action=\"{{ url('product_review_index', { id: Product.id }) }}\" class=\"ec-review__form\">
  397.             {{ form_widget(form._token) }}
  398.             <p class=\"ec-para-nomal text-center\">{{ 'product_review.front.review.description'|trans }}</p>
  399.             <div class=\"ec-borderedDefs\">
  400.                 {# 商品名 #}
  401.                 <dl>
  402.                     <dt>
  403.                         <label class=\"ec-label mt-none\">{{ 'product_review.front.review.product_name'|trans }}</label>
  404.                     </dt>
  405.                     <dd>
  406.                         <div class=\"ec-input\">
  407.                             {{ Product.name }}
  408.                         </div>
  409.                     </dd>
  410.                 </dl>
  411.                 {# 投稿者名 #}
  412.                 <dl>
  413.                     <dt>
  414.                         {{ form_label(form.reviewer_name, '', {'label_attr': {'class': 'ec-label'}}) }}
  415.                     </dt>
  416.                     <dd>
  417.                         <div class=\"ec-input{{ has_errors(form.reviewer_name) ? ' error' }}\">
  418.                             {{ form_widget(form.reviewer_name) }}
  419.                             {{ form_errors(form.reviewer_name) }}
  420.                         </div>
  421.                     </dd>
  422.                 </dl>
  423.                 {# 投稿者URL #}
  424.                 <dl class=\"d-none\">
  425.                     <dt>
  426.                         {{ form_label(form.reviewer_url, '', {'label_attr': {'class': 'ec-label'}}) }}
  427.                     </dt>
  428.                     <dd>
  429.                         <div class=\"ec-input{{ has_errors(form.reviewer_url) ? ' error' }}\">
  430.                             {{ form_widget(form.reviewer_url) }}
  431.                             {{ form_errors(form.reviewer_url) }}
  432.                         </div>
  433.                     </dd>
  434.                 </dl>
  435.                 {# 性別 #}
  436.                 <dl class=\"d-none\">
  437.                     <dt>
  438.                         {{ form_label(form.sex, 'common.gender', {'label_attr': {'class': 'ec-label'}}) }}
  439.                     </dt>
  440.                     <dd>
  441.                         <div class=\"ec-radio{{ has_errors(form.sex) ? ' error' }}\">
  442.                             {{ form_widget(form.sex) }}
  443.                             {{ form_errors(form.sex) }}
  444.                         </div>
  445.                     </dd>
  446.                 </dl>
  447.                 {# おすすめレベル #}
  448.                 <dl>
  449.                     <dt>
  450.                         {{ form_label(form.recommend_level, '', {'label_attr': {'class': 'ec-label'}}) }}
  451.                     </dt>
  452.                     <dd>
  453.                         <div class=\"ec-radio{{ has_errors(form.recommend_level) ? ' error' }}\">
  454.                             {{ form_widget(form.recommend_level) }}
  455.                             {{ form_errors(form.recommend_level) }}
  456.                         </div>
  457.                     </dd>
  458.                 </dl>
  459.                 {# タイトル #}
  460.                 <dl>
  461.                     <dt>
  462.                         {{ form_label(form.title, '', {'label_attr': {'class': 'ec-label'}}) }}
  463.                     </dt>
  464.                     <dd>
  465.                         <div class=\"ec-input{{ has_errors(form.title) ? ' error' }}\">
  466.                             {{ form_widget(form.title) }}
  467.                             {{ form_errors(form.title) }}
  468.                         </div>
  469.                     </dd>
  470.                 </dl>
  471.                 {# コメント #}
  472.                 <dl>
  473.                     <dt>
  474.                         {{ form_label(form.comment, '', {'label_attr': {'class': 'ec-label'}}) }}
  475.                     </dt>
  476.                     <dd>
  477.                         <div class=\"ec-input{{ has_errors(form.comment) ? ' error' }}\">
  478.                             {{ form_widget(form.comment) }}
  479.                             {{ form_errors(form.comment) }}
  480.                         </div>
  481.                     </dd>
  482.                 </dl>
  483.             </div>
  484.             <div class=\"ec-RegisterRole__actions\">
  485.                 <div class=\"btn-flex\">
  486.                     <button class=\"ec-blockBtn--action ec-yellow-btn ec-blockBtn\" type=\"submit\" name=\"mode\"
  487.                                 value=\"confirm\">{{ 'product_review.front.review.confirm'|trans }}</button>
  488.                     <a class=\"ec-blockBtn--cancel ec-blockBtn gray\"
  489.                             href=\"{{ url('product_detail', { id: Product.id }) }}\">{{ 'product_review.front.review.back'|trans }}</a>
  490.                 </div>
  491.             </div>
  492.         </form>
  493.     </div>
  494. {% endblock %}
  495. ""ProductReview42/Resource/template/default/index.twig""/home/bravers/bravers.xbiz.jp/public_html/app/template/bravers/ProductReview42/Resource/template/default/index.twig");
  496.     }
  497. }