var/cache/dev/twig/50/5097850591d01be7f49eaa9543a50999.php line 33

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. /* @SonataAdmin/CRUD/Association/edit_one_to_many_inline_table.html.twig */
  14. class __TwigTemplate_11ceed4ce2b8a0b3e3f7ebadbdb9e5c0 extends 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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SonataAdmin/CRUD/Association/edit_one_to_many_inline_table.html.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SonataAdmin/CRUD/Association/edit_one_to_many_inline_table.html.twig"));
  33.         // line 11
  34.         echo "<table class=\"table table-bordered ";
  35.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["form"] ?? null), "vars", [], "any"falsetruefalse11), "sonata_admin", [], "any"falsetruefalse11), "field_description", [], "any"falsetruefalse11), "options", [], "any"falsetruefalse11), "attr", [], "any"falsetruefalse11), "class", [], "any"truetruefalse11)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["form"] ?? null), "vars", [], "any"falsetruefalse11), "sonata_admin", [], "any"falsetruefalse11), "field_description", [], "any"falsetruefalse11), "options", [], "any"falsetruefalse11), "attr", [], "any"falsetruefalse11), "class", [], "any"falsefalsefalse11), "")) : ("")), "html"nulltrue);
  36.         echo "\">
  37.     <thead>
  38.     <tr>
  39.         ";
  40.         // line 14
  41.         $context['_parent'] = $context;
  42.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_first($this->envtwig_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.'14$this->source); })()), "children", [], "any"falsefalsefalse14)), "children", [], "any"falsefalsefalse14));
  43.         foreach ($context['_seq'] as $context["field_name"] => $context["nested_field"]) {
  44.             // line 15
  45.             echo "            ";
  46.             if (($context["field_name"] == "_delete")) {
  47.                 // line 16
  48.                 echo "                <th>";
  49.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("action_delete", [], "SonataAdminBundle"), "html"nulltrue);
  50.                 echo "</th>
  51.             ";
  52.             } else {
  53.                 // line 18
  54.                 echo "                <th
  55.                         ";
  56.                 // line 19
  57.                 if (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse19), "required", [], "array"truetruefalse19)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse19), "required", [], "array"falsefalsefalse19), false)) : (false))) {
  58.                     // line 20
  59.                     echo "                            class=\"required\"
  60.                         ";
  61.                 }
  62.                 // line 22
  63.                 echo "                        ";
  64.                 if (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse22), "attr", [], "array"falsetruefalse22), "hidden", [], "array"truetruefalse22)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse22), "attr", [], "array"falsetruefalse22), "hidden", [], "array"falsefalsefalse22), false)) : (false))) {
  65.                     // line 23
  66.                     echo "                            style=\"display:none;\"
  67.                         ";
  68.                 }
  69.                 // line 25
  70.                 echo "                >
  71.                     ";
  72.                 // line 26
  73.                 if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsefalsefalse26), "translation_domain", [], "any"falsefalsefalse26) === false)) {
  74.                     // line 27
  75.                     echo "                        ";
  76.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsefalsefalse27), "label", [], "any"falsefalsefalse27), "html"nulltrue);
  77.                     echo "
  78.                     ";
  79.                 } else {
  80.                     // line 29
  81.                     echo "                        ";
  82.                     $context["translationDomain"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse29), "translation_domain", [], "any"truetruefalse29)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse29), "translation_domain", [], "any"falsefalsefalse29), ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse29), "sonata_admin", [], "array"falsetruefalse29), "admin", [], "any"falsetruefalse29), "translationDomain", [], "any"truetruefalse29)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse29), "sonata_admin", [], "array"falsetruefalse29), "admin", [], "any"falsetruefalse29), "translationDomain", [], "any"falsefalsefalse29), null)) : (null)))) : (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse29), "sonata_admin", [], "array"falsetruefalse29), "admin", [], "any"falsetruefalse29), "translationDomain", [], "any"truetruefalse29)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse29), "sonata_admin", [], "array"falsetruefalse29), "admin", [], "any"falsetruefalse29), "translationDomain", [], "any"falsefalsefalse29), null)) : (null))));
  83.                     // line 30
  84.                     echo "                        ";
  85.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsefalsefalse30), "label", [], "any"falsefalsefalse30), [], (isset($context["translationDomain"]) || array_key_exists("translationDomain"$context) ? $context["translationDomain"] : (function () { throw new RuntimeError('Variable "translationDomain" does not exist.'30$this->source); })())), "html"nulltrue);
  86.                     echo "
  87.                     ";
  88.                 }
  89.                 // line 32
  90.                 echo "                </th>
  91.             ";
  92.             }
  93.             // line 34
  94.             echo "        ";
  95.         }
  96.         $_parent $context['_parent'];
  97.         unset($context['_seq'], $context['_iterated'], $context['field_name'], $context['nested_field'], $context['_parent'], $context['loop']);
  98.         $context array_intersect_key($context$_parent) + $_parent;
  99.         // line 35
  100.         echo "    </tr>
  101.     </thead>
  102.     <tbody class=\"sonata-ba-tbody\">
  103.     ";
  104.         // line 38
  105.         if (twig_in_filter("table-view-carousel", ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["form"] ?? null), "vars", [], "any"falsetruefalse38), "sonata_admin", [], "any"falsetruefalse38), "field_description", [], "any"falsetruefalse38), "options", [], "any"falsetruefalse38), "attr", [], "any"falsetruefalse38), "class", [], "any"truetruefalse38)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["form"] ?? null), "vars", [], "any"falsetruefalse38), "sonata_admin", [], "any"falsetruefalse38), "field_description", [], "any"falsetruefalse38), "options", [], "any"falsetruefalse38), "attr", [], "any"falsetruefalse38), "class", [], "any"falsefalsefalse38), "")) : ("")))) {
  106.             // line 39
  107.             echo "        ";
  108.             $this->loadTemplate("valoraciones_relojes_collection_type_card.html.twig""@SonataAdmin/CRUD/Association/edit_one_to_many_inline_table.html.twig"39)->display($context);
  109.             // line 40
  110.             echo "    ";
  111.         } else {
  112.             // line 41
  113.             echo "        ";
  114.             $context["i"] = 0;
  115.             // line 42
  116.             echo "        ";
  117.             $context['_parent'] = $context;
  118.             $context['_seq'] = twig_ensure_traversable(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.'42$this->source); })()), "children", [], "any"falsefalsefalse42));
  119.             foreach ($context['_seq'] as $context["nested_group_field_name"] => $context["nested_group_field"]) {
  120.                 // line 43
  121.                 echo "            <tr data-id=\"";
  122.                 echo twig_escape_filter($this->env, (isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'43$this->source); })()), "html"nulltrue);
  123.                 echo "\">
  124.                 ";
  125.                 // line 44
  126.                 $context["i"] = ((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'44$this->source); })()) + 1);
  127.                 // line 45
  128.                 echo "                ";
  129.                 $context['_parent'] = $context;
  130.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["nested_group_field"], "children", [], "any"falsefalsefalse45));
  131.                 foreach ($context['_seq'] as $context["field_name"] => $context["nested_field"]) {
  132.                     // line 46
  133.                     echo "                    <td class=\"display-card ";
  134.                     echo twig_escape_filter($this->env$context["field_name"], "html"nulltrue);
  135.                     echo "
  136.                             sonata-ba-td-";
  137.                     // line 47
  138.                     echo twig_escape_filter($this->env, (isset($context["id"]) || array_key_exists("id"$context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.'47$this->source); })()), "html"nulltrue);
  139.                     echo "-";
  140.                     echo twig_escape_filter($this->env$context["field_name"], "html"nulltrue);
  141.                     echo "
  142.                             form-group
  143.                             control-group
  144.                             ";
  145.                     // line 50
  146.                     if (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse50), "errors", [], "any"truetruefalse50)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse50), "errors", [], "any"falsefalsefalse50), false)) : (false))) {
  147.                         echo " error has-error sonata-ba-field-error";
  148.                     }
  149.                     // line 51
  150.                     echo "                            ";
  151.                     echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse51), "row_attr", [], "any"falsetruefalse51), "class", [], "any"truetruefalse51)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse51), "row_attr", [], "any"falsetruefalse51), "class", [], "any"falsefalsefalse51), "")) : ("")), "html"nulltrue);
  152.                     echo "
  153.                             \"
  154.                             style=\"grid-area: ";
  155.                     // line 53
  156.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsefalsefalse53), "name", [], "any"falsefalsefalse53), "html"nulltrue);
  157.                     echo ";
  158.                             ";
  159.                     // line 54
  160.                     if (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse54), "attr", [], "array"falsetruefalse54), "hidden", [], "array"truetruefalse54)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse54), "attr", [], "array"falsetruefalse54), "hidden", [], "array"falsefalsefalse54), false)) : (false))) {
  161.                         // line 55
  162.                         echo "                                display:none;
  163.                             ";
  164.                     }
  165.                     // line 56
  166.                     echo "\"
  167.                     >
  168.                         ";
  169.                     // line 58
  170.                     if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse58), "row_attr", [], "any"falsetruefalse58), "more_info", [], "any"truetruefalse58)) {
  171.                         // line 59
  172.                         echo "                            <div class=\"";
  173.                         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse59), "row_attr", [], "any"falsetruefalse59), "more_info", [], "any"falsetruefalse59), "class", [], "any"truetruefalse59)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse59), "row_attr", [], "any"falsetruefalse59), "more_info", [], "any"falsetruefalse59), "class", [], "any"falsefalsefalse59), "")) : ("")), "html"nulltrue);
  174.                         echo "\" ><span class=\"action-close-more_info fa fa-close\" style=\"float:right;\"></span>
  175.                         ";
  176.                     }
  177.                     // line 61
  178.                     echo "                        <label class=\"";
  179.                     if (($context["field_name"] != "_delete")) {
  180.                         echo "display-card-label";
  181.                     }
  182.                     // line 62
  183.                     echo "                                ";
  184.                     if (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse62), "required", [], "array"truetruefalse62)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse62), "required", [], "array"falsefalsefalse62), false)) : (false))) {
  185.                         // line 63
  186.                         echo "                                    required
  187.                                 ";
  188.                     }
  189.                     // line 65
  190.                     echo "                            \" style=\"display:none\">
  191.                             ";
  192.                     // line 66
  193.                     if (($context["field_name"] == "_delete")) {
  194.                         // line 67
  195.                         echo "                                ";
  196.                         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("admin.action.delete", [], "messages");
  197.                         // line 68
  198.                         echo "                            ";
  199.                     } else {
  200.                         // line 69
  201.                         echo "                                ";
  202.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsefalsefalse69), "label", [], "any"falsefalsefalse69), [], ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse69), "sonata_admin", [], "array"falsetruefalse69), "admin", [], "any"falsetruefalse69), "translationDomain", [], "any"truetruefalse69)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse69), "sonata_admin", [], "array"falsetruefalse69), "admin", [], "any"falsetruefalse69), "translationDomain", [], "any"falsefalsefalse69), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsefalsefalse69), "translation_domain", [], "any"falsefalsefalse69))) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsefalsefalse69), "translation_domain", [], "any"falsefalsefalse69)))), "html"nulltrue);
  203.                         echo "
  204.                             ";
  205.                     }
  206.                     // line 71
  207.                     echo "                        </label>
  208.                         ";
  209.                     // line 73
  210.                     if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["sonata_admin"] ?? null), "field_description", [], "any"falsetruefalse73), "associationadmin", [], "any"falsetruefalse73), "formfielddescriptions", [], "any"falsetruefalse73), $context["field_name"], [], "array"truetruefalse73)) {
  211.                         // line 74
  212.                         echo "                            ";
  213.                         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["nested_field"], 'widget');
  214.                         echo "
  215.                             ";
  216.                         // line 76
  217.                         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["nested_field"], 'help');
  218.                         echo "
  219.                             ";
  220.                         // line 78
  221.                         $context["dummy"] = twig_get_attribute($this->env$this->source$context["nested_group_field"], "setrendered", [], "any"falsefalsefalse78);
  222.                         // line 79
  223.                         echo "                        ";
  224.                     } else {
  225.                         // line 80
  226.                         echo "                            ";
  227.                         if (($context["field_name"] == "_delete")) {
  228.                             // line 81
  229.                             echo "                                ";
  230.                             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["nested_field"], 'widget', ["label" => false]);
  231.                             echo "
  232.                                 <span class=\"action action-delete display-card-delete pull-right\" style=\"display:none\">
  233.                                     <i class=\"fa fa-trash fa-2x\"></i>
  234.                                 </span>
  235.                             ";
  236.                         } else {
  237.                             // line 86
  238.                             echo "                                ";
  239.                             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["nested_field"], 'widget');
  240.                             echo "
  241.                             ";
  242.                         }
  243.                         // line 88
  244.                         echo "                        ";
  245.                     }
  246.                     // line 89
  247.                     echo "                        ";
  248.                     if (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse89), "errors", [], "any"truetruefalse89)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse89), "errors", [], "any"falsefalsefalse89), false)) : (false))) {
  249.                         // line 90
  250.                         echo "                            <div class=\"help-block help-inline sonata-ba-field-error-messages\">
  251.                                 ";
  252.                         // line 91
  253.                         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["nested_field"], 'errors');
  254.                         echo "
  255.                             </div>
  256.                         ";
  257.                     }
  258.                     // line 94
  259.                     echo "                        ";
  260.                     if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["nested_field"], "vars", [], "any"falsetruefalse94), "row_attr", [], "any"falsetruefalse94), "more_info", [], "any"truetruefalse94)) {
  261.                         // line 95
  262.                         echo "                            </div>
  263.                         ";
  264.                     }
  265.                     // line 97
  266.                     echo "                    </td>
  267.                 ";
  268.                 }
  269.                 $_parent $context['_parent'];
  270.                 unset($context['_seq'], $context['_iterated'], $context['field_name'], $context['nested_field'], $context['_parent'], $context['loop']);
  271.                 $context array_intersect_key($context$_parent) + $_parent;
  272.                 // line 99
  273.                 echo "            </tr>
  274.         ";
  275.             }
  276.             $_parent $context['_parent'];
  277.             unset($context['_seq'], $context['_iterated'], $context['nested_group_field_name'], $context['nested_group_field'], $context['_parent'], $context['loop']);
  278.             $context array_intersect_key($context$_parent) + $_parent;
  279.             // line 101
  280.             echo "    ";
  281.         }
  282.         // line 102
  283.         echo "    </tbody>
  284. </table>";
  285.         
  286.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  287.         
  288.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  289.     }
  290.     /**
  291.      * @codeCoverageIgnore
  292.      */
  293.     public function getTemplateName()
  294.     {
  295.         return "@SonataAdmin/CRUD/Association/edit_one_to_many_inline_table.html.twig";
  296.     }
  297.     /**
  298.      * @codeCoverageIgnore
  299.      */
  300.     public function isTraitable()
  301.     {
  302.         return false;
  303.     }
  304.     /**
  305.      * @codeCoverageIgnore
  306.      */
  307.     public function getDebugInfo()
  308.     {
  309.         return array (  295 => 102,  292 => 101,  285 => 99,  278 => 97,  274 => 95,  271 => 94,  265 => 91,  262 => 90,  259 => 89,  256 => 88,  250 => 86,  241 => 81,  238 => 80,  235 => 79,  233 => 78,  228 => 76,  222 => 74,  220 => 73,  216 => 71,  210 => 69,  207 => 68,  204 => 67,  202 => 66,  199 => 65,  195 => 63,  192 => 62,  187 => 61,  181 => 59,  179 => 58,  175 => 56,  171 => 55,  169 => 54,  165 => 53,  159 => 51,  155 => 50,  147 => 47,  142 => 46,  137 => 45,  135 => 44,  130 => 43,  125 => 42,  122 => 41,  119 => 40,  116 => 39,  114 => 38,  109 => 35,  103 => 34,  99 => 32,  93 => 30,  90 => 29,  84 => 27,  82 => 26,  79 => 25,  75 => 23,  72 => 22,  68 => 20,  66 => 19,  63 => 18,  57 => 16,  54 => 15,  50 => 14,  43 => 11,);
  310.     }
  311.     public function getSourceContext()
  312.     {
  313.         return new Source("{#
  314. This file is part of the Sonata package.
  315. (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  316. For the full copyright and license information, please view the LICENSE
  317. file that was distributed with this source code.
  318. #}
  319. <table class=\"table table-bordered {{ form.vars.sonata_admin.field_description.options.attr.class | default('')}}\">
  320.     <thead>
  321.     <tr>
  322.         {% for field_name, nested_field in form.children|first.children %}
  323.             {% if field_name == '_delete' %}
  324.                 <th>{{ 'action_delete'|trans({}, 'SonataAdminBundle') }}</th>
  325.             {% else %}
  326.                 <th
  327.                         {% if nested_field.vars['required']|default(false) %}
  328.                             class=\"required\"
  329.                         {% endif %}
  330.                         {% if nested_field.vars['attr']['hidden']|default(false) %}
  331.                             style=\"display:none;\"
  332.                         {% endif %}
  333.                 >
  334.                     {% if nested_field.vars.translation_domain is same as(false) %}
  335.                         {{ nested_field.vars.label }}
  336.                     {% else %}
  337.                         {% set translationDomain = nested_field.vars.translation_domain|default(nested_field.vars['sonata_admin'].admin.translationDomain|default(null)) %}
  338.                         {{ nested_field.vars.label|trans({}, translationDomain) }}
  339.                     {% endif %}
  340.                 </th>
  341.             {% endif %}
  342.         {% endfor %}
  343.     </tr>
  344.     </thead>
  345.     <tbody class=\"sonata-ba-tbody\">
  346.     {% if( 'table-view-carousel' in form.vars.sonata_admin.field_description.options.attr.class | default('') ) %}
  347.         {% include 'valoraciones_relojes_collection_type_card.html.twig' %}
  348.     {% else %}
  349.         {% set i=0 %}
  350.         {% for nested_group_field_name, nested_group_field in form.children %}
  351.             <tr data-id=\"{{ i }}\">
  352.                 {% set i=i+1 %}
  353.                 {% for field_name, nested_field in nested_group_field.children %}
  354.                     <td class=\"display-card {{ field_name }}
  355.                             sonata-ba-td-{{ id }}-{{ field_name }}
  356.                             form-group
  357.                             control-group
  358.                             {% if nested_field.vars.errors|default(false) %} error has-error sonata-ba-field-error{% endif %}
  359.                             {{ nested_field.vars.row_attr.class|default('') }}
  360.                             \"
  361.                             style=\"grid-area: {{ nested_field.vars.name }};
  362.                             {% if nested_field.vars['attr']['hidden']|default(false) %}
  363.                                 display:none;
  364.                             {% endif %}\"
  365.                     >
  366.                         {% if(nested_field.vars.row_attr.more_info is defined) %}
  367.                             <div class=\"{{ nested_field.vars.row_attr.more_info.class | default('') }}\" ><span class=\"action-close-more_info fa fa-close\" style=\"float:right;\"></span>
  368.                         {% endif %}
  369.                         <label class=\"{% if field_name != '_delete' %}display-card-label{% endif %}
  370.                                 {% if nested_field.vars['required']|default(false) %}
  371.                                     required
  372.                                 {% endif %}
  373.                             \" style=\"display:none\">
  374.                             {% if field_name == '_delete' %}
  375.                                 {% trans %}admin.action.delete{% endtrans %}
  376.                             {% else %}
  377.                                 {{ nested_field.vars.label|trans({}, nested_field.vars['sonata_admin'].admin.translationDomain|default(nested_field.vars.translation_domain)) }}
  378.                             {% endif %}
  379.                         </label>
  380.                         {% if sonata_admin.field_description.associationadmin.formfielddescriptions[field_name] is defined %}
  381.                             {{ form_widget(nested_field) }}
  382.                             {{ form_help(nested_field) }}
  383.                             {% set dummy = nested_group_field.setrendered %}
  384.                         {% else %}
  385.                             {% if field_name == '_delete' %}
  386.                                 {{ form_widget(nested_field, { label: false }) }}
  387.                                 <span class=\"action action-delete display-card-delete pull-right\" style=\"display:none\">
  388.                                     <i class=\"fa fa-trash fa-2x\"></i>
  389.                                 </span>
  390.                             {% else %}
  391.                                 {{ form_widget(nested_field) }}
  392.                             {% endif %}
  393.                         {% endif %}
  394.                         {% if nested_field.vars.errors|default(false) %}
  395.                             <div class=\"help-block help-inline sonata-ba-field-error-messages\">
  396.                                 {{ form_errors(nested_field) }}
  397.                             </div>
  398.                         {% endif %}
  399.                         {% if(nested_field.vars.row_attr.more_info is defined) %}
  400.                             </div>
  401.                         {% endif %}
  402.                     </td>
  403.                 {% endfor %}
  404.             </tr>
  405.         {% endfor %}
  406.     {% endif %}
  407.     </tbody>
  408. </table>""@SonataAdmin/CRUD/Association/edit_one_to_many_inline_table.html.twig""/var/www/vhosts/perseo.comerziawatches.com/httpdocs/perseo/httpdocs/templates/bundles/SonataAdminBundle/CRUD/Association/edit_one_to_many_inline_table.html.twig");
  409.     }
  410. }