<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @SonataAdmin/CRUD/Association/edit_one_to_many_inline_table.html.twig */
class __TwigTemplate_11ceed4ce2b8a0b3e3f7ebadbdb9e5c0 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SonataAdmin/CRUD/Association/edit_one_to_many_inline_table.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SonataAdmin/CRUD/Association/edit_one_to_many_inline_table.html.twig"));
// line 11
echo "<table class=\"table table-bordered ";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "vars", [], "any", false, true, false, 11), "sonata_admin", [], "any", false, true, false, 11), "field_description", [], "any", false, true, false, 11), "options", [], "any", false, true, false, 11), "attr", [], "any", false, true, false, 11), "class", [], "any", true, true, false, 11)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "vars", [], "any", false, true, false, 11), "sonata_admin", [], "any", false, true, false, 11), "field_description", [], "any", false, true, false, 11), "options", [], "any", false, true, false, 11), "attr", [], "any", false, true, false, 11), "class", [], "any", false, false, false, 11), "")) : ("")), "html", null, true);
echo "\">
<thead>
<tr>
";
// line 14
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_first($this->env, 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.', 14, $this->source); })()), "children", [], "any", false, false, false, 14)), "children", [], "any", false, false, false, 14));
foreach ($context['_seq'] as $context["field_name"] => $context["nested_field"]) {
// line 15
echo " ";
if (($context["field_name"] == "_delete")) {
// line 16
echo " <th>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("action_delete", [], "SonataAdminBundle"), "html", null, true);
echo "</th>
";
} else {
// line 18
echo " <th
";
// line 19
if (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 19), "required", [], "array", true, true, false, 19)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 19), "required", [], "array", false, false, false, 19), false)) : (false))) {
// line 20
echo " class=\"required\"
";
}
// line 22
echo " ";
if (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 22), "attr", [], "array", false, true, false, 22), "hidden", [], "array", true, true, false, 22)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 22), "attr", [], "array", false, true, false, 22), "hidden", [], "array", false, false, false, 22), false)) : (false))) {
// line 23
echo " style=\"display:none;\"
";
}
// line 25
echo " >
";
// line 26
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, false, false, 26), "translation_domain", [], "any", false, false, false, 26) === false)) {
// line 27
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, false, false, 27), "label", [], "any", false, false, false, 27), "html", null, true);
echo "
";
} else {
// line 29
echo " ";
$context["translationDomain"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 29), "translation_domain", [], "any", true, true, false, 29)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 29), "translation_domain", [], "any", false, false, false, 29), ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 29), "sonata_admin", [], "array", false, true, false, 29), "admin", [], "any", false, true, false, 29), "translationDomain", [], "any", true, true, false, 29)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 29), "sonata_admin", [], "array", false, true, false, 29), "admin", [], "any", false, true, false, 29), "translationDomain", [], "any", false, false, false, 29), null)) : (null)))) : (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 29), "sonata_admin", [], "array", false, true, false, 29), "admin", [], "any", false, true, false, 29), "translationDomain", [], "any", true, true, false, 29)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 29), "sonata_admin", [], "array", false, true, false, 29), "admin", [], "any", false, true, false, 29), "translationDomain", [], "any", false, false, false, 29), null)) : (null))));
// line 30
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, false, false, 30), "label", [], "any", false, false, false, 30), [], (isset($context["translationDomain"]) || array_key_exists("translationDomain", $context) ? $context["translationDomain"] : (function () { throw new RuntimeError('Variable "translationDomain" does not exist.', 30, $this->source); })())), "html", null, true);
echo "
";
}
// line 32
echo " </th>
";
}
// line 34
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['field_name'], $context['nested_field'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 35
echo " </tr>
</thead>
<tbody class=\"sonata-ba-tbody\">
";
// line 38
if (twig_in_filter("table-view-carousel", ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "vars", [], "any", false, true, false, 38), "sonata_admin", [], "any", false, true, false, 38), "field_description", [], "any", false, true, false, 38), "options", [], "any", false, true, false, 38), "attr", [], "any", false, true, false, 38), "class", [], "any", true, true, false, 38)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "vars", [], "any", false, true, false, 38), "sonata_admin", [], "any", false, true, false, 38), "field_description", [], "any", false, true, false, 38), "options", [], "any", false, true, false, 38), "attr", [], "any", false, true, false, 38), "class", [], "any", false, false, false, 38), "")) : ("")))) {
// line 39
echo " ";
$this->loadTemplate("valoraciones_relojes_collection_type_card.html.twig", "@SonataAdmin/CRUD/Association/edit_one_to_many_inline_table.html.twig", 39)->display($context);
// line 40
echo " ";
} else {
// line 41
echo " ";
$context["i"] = 0;
// line 42
echo " ";
$context['_parent'] = $context;
$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", false, false, false, 42));
foreach ($context['_seq'] as $context["nested_group_field_name"] => $context["nested_group_field"]) {
// line 43
echo " <tr data-id=\"";
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", null, true);
echo "\">
";
// line 44
$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);
// line 45
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["nested_group_field"], "children", [], "any", false, false, false, 45));
foreach ($context['_seq'] as $context["field_name"] => $context["nested_field"]) {
// line 46
echo " <td class=\"display-card ";
echo twig_escape_filter($this->env, $context["field_name"], "html", null, true);
echo "
sonata-ba-td-";
// line 47
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", null, true);
echo "-";
echo twig_escape_filter($this->env, $context["field_name"], "html", null, true);
echo "
form-group
control-group
";
// line 50
if (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 50), "errors", [], "any", true, true, false, 50)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 50), "errors", [], "any", false, false, false, 50), false)) : (false))) {
echo " error has-error sonata-ba-field-error";
}
// line 51
echo " ";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 51), "row_attr", [], "any", false, true, false, 51), "class", [], "any", true, true, false, 51)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 51), "row_attr", [], "any", false, true, false, 51), "class", [], "any", false, false, false, 51), "")) : ("")), "html", null, true);
echo "
\"
style=\"grid-area: ";
// line 53
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, false, false, 53), "name", [], "any", false, false, false, 53), "html", null, true);
echo ";
";
// line 54
if (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 54), "attr", [], "array", false, true, false, 54), "hidden", [], "array", true, true, false, 54)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 54), "attr", [], "array", false, true, false, 54), "hidden", [], "array", false, false, false, 54), false)) : (false))) {
// line 55
echo " display:none;
";
}
// line 56
echo "\"
>
";
// line 58
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 58), "row_attr", [], "any", false, true, false, 58), "more_info", [], "any", true, true, false, 58)) {
// line 59
echo " <div class=\"";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 59), "row_attr", [], "any", false, true, false, 59), "more_info", [], "any", false, true, false, 59), "class", [], "any", true, true, false, 59)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 59), "row_attr", [], "any", false, true, false, 59), "more_info", [], "any", false, true, false, 59), "class", [], "any", false, false, false, 59), "")) : ("")), "html", null, true);
echo "\" ><span class=\"action-close-more_info fa fa-close\" style=\"float:right;\"></span>
";
}
// line 61
echo " <label class=\"";
if (($context["field_name"] != "_delete")) {
echo "display-card-label";
}
// line 62
echo " ";
if (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 62), "required", [], "array", true, true, false, 62)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 62), "required", [], "array", false, false, false, 62), false)) : (false))) {
// line 63
echo " required
";
}
// line 65
echo " \" style=\"display:none\">
";
// line 66
if (($context["field_name"] == "_delete")) {
// line 67
echo " ";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("admin.action.delete", [], "messages");
// line 68
echo " ";
} else {
// line 69
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, false, false, 69), "label", [], "any", false, false, false, 69), [], ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 69), "sonata_admin", [], "array", false, true, false, 69), "admin", [], "any", false, true, false, 69), "translationDomain", [], "any", true, true, false, 69)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 69), "sonata_admin", [], "array", false, true, false, 69), "admin", [], "any", false, true, false, 69), "translationDomain", [], "any", false, false, false, 69), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, false, false, 69), "translation_domain", [], "any", false, false, false, 69))) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, false, false, 69), "translation_domain", [], "any", false, false, false, 69)))), "html", null, true);
echo "
";
}
// line 71
echo " </label>
";
// line 73
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["sonata_admin"] ?? null), "field_description", [], "any", false, true, false, 73), "associationadmin", [], "any", false, true, false, 73), "formfielddescriptions", [], "any", false, true, false, 73), $context["field_name"], [], "array", true, true, false, 73)) {
// line 74
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["nested_field"], 'widget');
echo "
";
// line 76
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["nested_field"], 'help');
echo "
";
// line 78
$context["dummy"] = twig_get_attribute($this->env, $this->source, $context["nested_group_field"], "setrendered", [], "any", false, false, false, 78);
// line 79
echo " ";
} else {
// line 80
echo " ";
if (($context["field_name"] == "_delete")) {
// line 81
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["nested_field"], 'widget', ["label" => false]);
echo "
<span class=\"action action-delete display-card-delete pull-right\" style=\"display:none\">
<i class=\"fa fa-trash fa-2x\"></i>
</span>
";
} else {
// line 86
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["nested_field"], 'widget');
echo "
";
}
// line 88
echo " ";
}
// line 89
echo " ";
if (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 89), "errors", [], "any", true, true, false, 89)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 89), "errors", [], "any", false, false, false, 89), false)) : (false))) {
// line 90
echo " <div class=\"help-block help-inline sonata-ba-field-error-messages\">
";
// line 91
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["nested_field"], 'errors');
echo "
</div>
";
}
// line 94
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["nested_field"], "vars", [], "any", false, true, false, 94), "row_attr", [], "any", false, true, false, 94), "more_info", [], "any", true, true, false, 94)) {
// line 95
echo " </div>
";
}
// line 97
echo " </td>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['field_name'], $context['nested_field'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 99
echo " </tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['nested_group_field_name'], $context['nested_group_field'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 101
echo " ";
}
// line 102
echo " </tbody>
</table>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "@SonataAdmin/CRUD/Association/edit_one_to_many_inline_table.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of the Sonata package.
(c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
<table class=\"table table-bordered {{ form.vars.sonata_admin.field_description.options.attr.class | default('')}}\">
<thead>
<tr>
{% for field_name, nested_field in form.children|first.children %}
{% if field_name == '_delete' %}
<th>{{ 'action_delete'|trans({}, 'SonataAdminBundle') }}</th>
{% else %}
<th
{% if nested_field.vars['required']|default(false) %}
class=\"required\"
{% endif %}
{% if nested_field.vars['attr']['hidden']|default(false) %}
style=\"display:none;\"
{% endif %}
>
{% if nested_field.vars.translation_domain is same as(false) %}
{{ nested_field.vars.label }}
{% else %}
{% set translationDomain = nested_field.vars.translation_domain|default(nested_field.vars['sonata_admin'].admin.translationDomain|default(null)) %}
{{ nested_field.vars.label|trans({}, translationDomain) }}
{% endif %}
</th>
{% endif %}
{% endfor %}
</tr>
</thead>
<tbody class=\"sonata-ba-tbody\">
{% if( 'table-view-carousel' in form.vars.sonata_admin.field_description.options.attr.class | default('') ) %}
{% include 'valoraciones_relojes_collection_type_card.html.twig' %}
{% else %}
{% set i=0 %}
{% for nested_group_field_name, nested_group_field in form.children %}
<tr data-id=\"{{ i }}\">
{% set i=i+1 %}
{% for field_name, nested_field in nested_group_field.children %}
<td class=\"display-card {{ field_name }}
sonata-ba-td-{{ id }}-{{ field_name }}
form-group
control-group
{% if nested_field.vars.errors|default(false) %} error has-error sonata-ba-field-error{% endif %}
{{ nested_field.vars.row_attr.class|default('') }}
\"
style=\"grid-area: {{ nested_field.vars.name }};
{% if nested_field.vars['attr']['hidden']|default(false) %}
display:none;
{% endif %}\"
>
{% if(nested_field.vars.row_attr.more_info is defined) %}
<div class=\"{{ nested_field.vars.row_attr.more_info.class | default('') }}\" ><span class=\"action-close-more_info fa fa-close\" style=\"float:right;\"></span>
{% endif %}
<label class=\"{% if field_name != '_delete' %}display-card-label{% endif %}
{% if nested_field.vars['required']|default(false) %}
required
{% endif %}
\" style=\"display:none\">
{% if field_name == '_delete' %}
{% trans %}admin.action.delete{% endtrans %}
{% else %}
{{ nested_field.vars.label|trans({}, nested_field.vars['sonata_admin'].admin.translationDomain|default(nested_field.vars.translation_domain)) }}
{% endif %}
</label>
{% if sonata_admin.field_description.associationadmin.formfielddescriptions[field_name] is defined %}
{{ form_widget(nested_field) }}
{{ form_help(nested_field) }}
{% set dummy = nested_group_field.setrendered %}
{% else %}
{% if field_name == '_delete' %}
{{ form_widget(nested_field, { label: false }) }}
<span class=\"action action-delete display-card-delete pull-right\" style=\"display:none\">
<i class=\"fa fa-trash fa-2x\"></i>
</span>
{% else %}
{{ form_widget(nested_field) }}
{% endif %}
{% endif %}
{% if nested_field.vars.errors|default(false) %}
<div class=\"help-block help-inline sonata-ba-field-error-messages\">
{{ form_errors(nested_field) }}
</div>
{% endif %}
{% if(nested_field.vars.row_attr.more_info is defined) %}
</div>
{% endif %}
</td>
{% endfor %}
</tr>
{% endfor %}
{% endif %}
</tbody>
</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");
}
}