var/cache/dev/twig/41/418b18da8e7dc4aae26a3c9a6ecfeceb.php line 557

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. /* @crud\crud\formulario.html.twig */
  14. class __TwigTemplate_48b183ad5d89067c8342adf9cac6666f 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.             'formulario_jquery' => [$this'block_formulario_jquery'],
  25.             'formulario_customs_functions' => [$this'block_formulario_customs_functions'],
  26.             'formulario_customs_jquery' => [$this'block_formulario_customs_jquery'],
  27.             'formulario_content' => [$this'block_formulario_content'],
  28.             'secondary_heading' => [$this'block_secondary_heading'],
  29.             'pre_form' => [$this'block_pre_form'],
  30.             'form_action' => [$this'block_form_action'],
  31.             'form' => [$this'block_form'],
  32.             'form_pre_rows' => [$this'block_form_pre_rows'],
  33.             'rowopen' => [$this'block_rowopen'],
  34.             'draw_widget' => [$this'block_draw_widget'],
  35.             'rowclose' => [$this'block_rowclose'],
  36.             'form_post_rows' => [$this'block_form_post_rows'],
  37.             'post_form' => [$this'block_post_form'],
  38.             'botones_form' => [$this'block_botones_form'],
  39.             'end_form' => [$this'block_end_form'],
  40.         ];
  41.     }
  42.     protected function doDisplay(array $context, array $blocks = [])
  43.     {
  44.         $macros $this->macros;
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@crud\\crud\\formulario.html.twig"));
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@crud\\crud\\formulario.html.twig"));
  49.         // line 1
  50.         $this->displayBlock('formulario_jquery'$context$blocks);
  51.         // line 153
  52.         echo "
  53. ";
  54.         // line 154
  55.         $this->displayBlock('formulario_content'$context$blocks);
  56.         
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  58.         
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  60.     }
  61.     // line 1
  62.     public function block_formulario_jquery($context, array $blocks = [])
  63.     {
  64.         $macros $this->macros;
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""formulario_jquery"));
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""formulario_jquery"));
  69.         // line 2
  70.         echo "    <script type=\"text/javascript\">
  71.         function mostrarTextoGeometria(geometria)
  72.         {
  73.             cadenaRetorno = '';
  74.             if (geometria.length)
  75.             {
  76.                 cadena = geometria.replace('POINT(','');
  77.                 cadena = cadena.replace(')','');
  78.                 punto = cadena.split(' ');
  79.                 cadenaRetorno = 'Lat:'+ parseFloat(punto[1]).toFixed(2) + ' Lon:'+ parseFloat(punto[0]).toFixed(2);
  80.             }
  81.             return cadenaRetorno;
  82.         }
  83.         ";
  84.         // line 17
  85.         $this->displayBlock('formulario_customs_functions'$context$blocks);
  86.         // line 19
  87.         echo "
  88.         \$(function(){
  89. \t\t
  90.             \$('.just_numbers').keypress(function(e){
  91.                 if (e.which<48 || e.which>57 )
  92.                     e.preventDefault();
  93.             });
  94.             \$('.just_floats').keypress(function(e){
  95.                 if (e.which === 46)  //el punto
  96.                     {
  97.                         //buscar si ya hay un punto
  98.                         var val = \$(this).val();
  99.                         if (val.indexOf('.')>=0)
  100.                         {
  101.                             e.preventDefault();
  102.                         }
  103.                     }
  104.                     else
  105.                         if (e.which<48 || e.which>57 )
  106.                             e.preventDefault();
  107.             });
  108. \t\t
  109.             \$(\"#crud_form_";
  110.         // line 42
  111.         echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'42$this->source); })()), "html"nulltrue);
  112.         echo "\").find(\".form-control\").each(function () {
  113.                 var idK=\$(this).attr('id');
  114.                 if (idK)
  115.                 {
  116.                     var idW = idK.replace('form','');
  117.                     idW = 'form_";
  118.         // line 47
  119.         echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'47$this->source); })()), "html"nulltrue);
  120.         echo "'+ idW;
  121.                     \$(this).attr('id',idW);
  122.                     \$(this).removeClass('form-control');
  123.                 }
  124.             });
  125.             
  126.             ";
  127.         // line 53
  128.         $context['_parent'] = $context;
  129.         $context['_seq'] = twig_ensure_traversable((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'53$this->source); })()));
  130.         foreach ($context['_seq'] as $context["key"] => $context["widget"]) {
  131.             // line 54
  132.             echo "                ";
  133.             if (($context["key"] != "_token")) {
  134.                 // line 55
  135.                 echo "                    ";
  136.                 if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsetruefalse55), "attr", [], "any"falsetruefalse55), "readonly", [], "any"truetruefalse55)) {
  137.                     // line 56
  138.                     echo "                        \$('#crud_form_";
  139.                     echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'56$this->source); })()), "html"nulltrue);
  140.                     echo "').find('#form_";
  141.                     echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'56$this->source); })()), "html"nulltrue);
  142.                     echo "_";
  143.                     echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  144.                     echo "').addClass('hide');
  145.                     ";
  146.                 }
  147.                 // line 58
  148.                 echo "                    ";
  149.                 if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsetruefalse58), "attr", [], "any"falsetruefalse58), "dependiente_parent", [], "any"truetruefalse58)) {
  150.                     // line 59
  151.                     echo "                        \$('#form_";
  152.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsefalsefalse59), "attr", [], "any"falsefalsefalse59), "dependiente_parent", [], "any"falsefalsefalse59), "html"nulltrue);
  153.                     echo "').change(function(){
  154.                             var selected = \$(this).val();
  155.                             if (selected==\"\") selected=\"-1\";
  156. //                            var baseSite = document.getElementById('baseSite').value;
  157.                             var url = '";
  158.                     // line 63
  159.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("crudDependiente", ["rol" => "all""className" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsefalsefalse63), "attr", [], "any"falsefalsefalse63), "dependiente_class", [], "any"falsefalsefalse63), "fieldName" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsefalsefalse63), "attr", [], "any"falsefalsefalse63), "dependiente_field", [], "any"falsefalsefalse63), "value" => "__VALUE__"]), "html"nulltrue);
  160.                     echo "';
  161.                             url = url.replace('__VALUE__',selected);
  162. //                            var url = baseSite+\"dependientes/";
  163.                     // line 65
  164.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsefalsefalse65), "attr", [], "any"falsefalsefalse65), "dependiente_class", [], "any"falsefalsefalse65), "html"nulltrue);
  165.                     echo "/";
  166.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsefalsefalse65), "attr", [], "any"falsefalsefalse65), "dependiente_field", [], "any"falsefalsefalse65), "html"nulltrue);
  167.                     echo "/\"+selected;
  168.                             \$('#";
  169.                     // line 66
  170.                     echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  171.                     echo "').mask('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
  172.                             \$('#form_";
  173.                     // line 67
  174.                     echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'67$this->source); })()), "html"nulltrue);
  175.                     echo "_";
  176.                     echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  177.                     echo "').load(url, function(){
  178.                                 \$('#";
  179.                     // line 68
  180.                     echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  181.                     echo "').unmask();
  182.                             });
  183.                         });
  184.                     ";
  185.                 }
  186.                 // line 72
  187.                 echo "                    ";
  188.                 if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsetruefalse72), "attr", [], "any"falsetruefalse72), "class", [], "any"truetruefalse72)) {
  189.                     // line 73
  190.                     echo "                        ";
  191.                     if ($this->extensions['App\Crud\Twig\twigExtension']->isSubStringFunction(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsefalsefalse73), "attr", [], "any"falsefalsefalse73), "class", [], "any"falsefalsefalse73), "spinbox-input")) {
  192.                         // line 74
  193.                         echo "                            ";
  194.                         $context["min"] = "";
  195.                         // line 75
  196.                         echo "                            ";
  197.                         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsetruefalse75), "attr", [], "any"falsetruefalse75), "min", [], "any"truetruefalse75)) {
  198.                             // line 76
  199.                             echo "                                ";
  200.                             $context["min"] = (("min: " twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsefalsefalse76), "attr", [], "any"falsefalsefalse76), "min", [], "any"falsefalsefalse76)) . ", ");
  201.                             // line 77
  202.                             echo "                            ";
  203.                         }
  204.                         // line 78
  205.                         echo "                            ";
  206.                         $context["max"] = "";
  207.                         // line 79
  208.                         echo "                            ";
  209.                         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsetruefalse79), "attr", [], "any"falsetruefalse79), "max", [], "any"truetruefalse79)) {
  210.                             // line 80
  211.                             echo "                                ";
  212.                             $context["max"] = (("max: " twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsefalsefalse80), "attr", [], "any"falsefalsefalse80), "max", [], "any"falsefalsefalse80)) . ", ");
  213.                             // line 81
  214.                             echo "                            ";
  215.                         }
  216.                         // line 82
  217.                         echo "                            \$('#crud_form_";
  218.                         echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'82$this->source); })()), "html"nulltrue);
  219.                         echo "').find('#form_";
  220.                         echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'82$this->source); })()), "html"nulltrue);
  221.                         echo "_";
  222.                         echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  223.                         echo "').attr('type','text');
  224.                             \$('#crud_form_";
  225.                         // line 83
  226.                         echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'83$this->source); })()), "html"nulltrue);
  227.                         echo "').find('#form_";
  228.                         echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'83$this->source); })()), "html"nulltrue);
  229.                         echo "_";
  230.                         echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  231.                         echo "').ace_spinner({ ";
  232.                         echo twig_escape_filter($this->env, (isset($context["min"]) || array_key_exists("min"$context) ? $context["min"] : (function () { throw new RuntimeError('Variable "min" does not exist.'83$this->source); })()), "html"nulltrue);
  233.                         echo twig_escape_filter($this->env, (isset($context["max"]) || array_key_exists("max"$context) ? $context["max"] : (function () { throw new RuntimeError('Variable "max" does not exist.'83$this->source); })()), "html"nulltrue);
  234.                         echo " step: 1, on_sides: true, icon_up: 'fas fa-plus', icon_down: 'fas fa-minus ', btn_up_class: 'btn-grey', btn_down_class: 'btn-grey', full_width: true});
  235.                         ";
  236.                     } else {
  237.                         // line 85
  238.                         echo "                            ";
  239.                         if ($this->extensions['App\Crud\Twig\twigExtension']->isSubStringFunction(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsefalsefalse85), "attr", [], "any"falsefalsefalse85), "class", [], "any"falsefalsefalse85), "campo_fecha")) {
  240.                             // line 86
  241.                             echo "                                \$('#crud_form_";
  242.                             echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'86$this->source); })()), "html"nulltrue);
  243.                             echo "').find('#form_";
  244.                             echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'86$this->source); })()), "html"nulltrue);
  245.                             echo "_";
  246.                             echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  247.                             echo "').wrap('<div class=\"input-group\" id=\"campo_fecha_";
  248.                             echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'86$this->source); })()), "html"nulltrue);
  249.                             echo "_";
  250.                             echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  251.                             echo "\" />');
  252.                                 \$('#campo_fecha_";
  253.                             // line 87
  254.                             echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'87$this->source); })()), "html"nulltrue);
  255.                             echo "_";
  256.                             echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  257.                             echo "').append('<span class=\"input-group-addon\"><i class=\"fas fa-calendar bigger-110\"></i></span>');
  258.                                 \$('#crud_form_";
  259.                             // line 88
  260.                             echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'88$this->source); })()), "html"nulltrue);
  261.                             echo "').find('#form_";
  262.                             echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'88$this->source); })()), "html"nulltrue);
  263.                             echo "_";
  264.                             echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  265.                             echo "').attr('type','text');
  266.                                 \$('#crud_form_";
  267.                             // line 89
  268.                             echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'89$this->source); })()), "html"nulltrue);
  269.                             echo "').find('#form_";
  270.                             echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'89$this->source); })()), "html"nulltrue);
  271.                             echo "_";
  272.                             echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  273.                             echo "').datepicker({
  274.                                         autoclose: true,
  275.                                         todayHighlight: true,
  276.                                         ";
  277.                             // line 92
  278.                             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsetruefalse92), "attr", [], "any"falsetruefalse92), "startDate", [], "any"truetruefalse92)) {
  279.                                 // line 93
  280.                                 echo "                                            startDate: '";
  281.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsefalsefalse93), "attr", [], "any"falsefalsefalse93), "startDate", [], "any"falsefalsefalse93), "html"nulltrue);
  282.                                 echo "',
  283.                                         ";
  284.                             }
  285.                             // line 95
  286.                             echo "                                        ";
  287.                             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsetruefalse95), "attr", [], "any"falsetruefalse95), "endDate", [], "any"truetruefalse95)) {
  288.                                 // line 96
  289.                                 echo "                                            endDate: '";
  290.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsefalsefalse96), "attr", [], "any"falsefalsefalse96), "endDate", [], "any"falsefalsefalse96), "html"nulltrue);
  291.                                 echo "',
  292.                                         ";
  293.                             }
  294.                             // line 98
  295.                             echo "                                        language: '";
  296.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'98$this->source); })()), "request", [], "any"falsefalsefalse98), "locale", [], "any"falsefalsefalse98), "html"nulltrue);
  297.                             echo "'
  298.                                 })
  299.                                 .next().on(ace.click_event, function(){
  300.                                         \$(this).prev().focus();
  301.                                 });
  302.                             ";
  303.                         } else {
  304.                             // line 104
  305.                             echo "                                ";
  306.                             if ($this->extensions['App\Crud\Twig\twigExtension']->isSubStringFunction(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsefalsefalse104), "attr", [], "any"falsefalsefalse104), "class", [], "any"falsefalsefalse104), "campo_hora_fecha")) {
  307.                                 // line 105
  308.                                 echo "                                    \$('#crud_form_";
  309.                                 echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'105$this->source); })()), "html"nulltrue);
  310.                                 echo "').find('#form_";
  311.                                 echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'105$this->source); })()), "html"nulltrue);
  312.                                 echo "_";
  313.                                 echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  314.                                 echo "').wrap('<div class=\"input-group\" id=\"campo_fecha_";
  315.                                 echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'105$this->source); })()), "html"nulltrue);
  316.                                 echo "_";
  317.                                 echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  318.                                 echo "\" />');
  319.                                     \$('#campo_fecha_";
  320.                                 // line 106
  321.                                 echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'106$this->source); })()), "html"nulltrue);
  322.                                 echo "_";
  323.                                 echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  324.                                 echo "').append('<span class=\"input-group-addon\"><i class=\"fas fa-calendar bigger-110\"></i></span>');
  325.                                     \$('#crud_form_";
  326.                                 // line 107
  327.                                 echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'107$this->source); })()), "html"nulltrue);
  328.                                 echo "').find('#form_";
  329.                                 echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'107$this->source); })()), "html"nulltrue);
  330.                                 echo "_";
  331.                                 echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  332.                                 echo "').datetimepicker()
  333.                                     .next().on(ace.click_event, function(){
  334.                                                 \$(this).prev().focus();
  335.                                     });
  336.                                 ";
  337.                             } else {
  338.                                 // line 112
  339.                                 echo "                                    ";
  340.                                 if ($this->extensions['App\Crud\Twig\twigExtension']->isSubStringFunction(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsefalsefalse112), "attr", [], "any"falsefalsefalse112), "class", [], "any"falsefalsefalse112), "geometria_punto")) {
  341.                                     // line 113
  342.                                     echo "                                        \$('#crud_form_";
  343.                                     echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'113$this->source); })()), "html"nulltrue);
  344.                                     echo "').find('#form_";
  345.                                     echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'113$this->source); })()), "html"nulltrue);
  346.                                     echo "_";
  347.                                     echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  348.                                     echo "').change(function(){
  349.                                             geometria = \$(this).val();
  350.                                             valor = mostrarTextoGeometria(geometria);
  351.                                             \$('#textoGeometriaPunto').html(valor);
  352.                                         });
  353.                                         \$('#crud_form_";
  354.                                     // line 118
  355.                                     echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'118$this->source); })()), "html"nulltrue);
  356.                                     echo "').find('#form_";
  357.                                     echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'118$this->source); })()), "html"nulltrue);
  358.                                     echo "_";
  359.                                     echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  360.                                     echo "').trigger('change');
  361.                                     ";
  362.                                 } else {
  363.                                     // line 120
  364.                                     echo "                                        ";
  365.                                     if ($this->extensions['App\Crud\Twig\twigExtension']->isSubStringFunction(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsefalsefalse120), "attr", [], "any"falsefalsefalse120), "class", [], "any"falsefalsefalse120), "geometria_poligono")) {
  366.                                         // line 121
  367.                                         echo "                                            \$('#crud_form_";
  368.                                         echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'121$this->source); })()), "html"nulltrue);
  369.                                         echo "').find('#form_";
  370.                                         echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'121$this->source); })()), "html"nulltrue);
  371.                                         echo "_";
  372.                                         echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  373.                                         echo "').change(function(){
  374.                                                 \$('#textoGeometriaPoligono').html('Pol�gono definido');
  375.                                             });
  376.                                             if(\$('#crud_form_";
  377.                                         // line 126
  378.                                         echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'126$this->source); })()), "html"nulltrue);
  379.                                         echo "').find('#form_";
  380.                                         echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'126$this->source); })()), "html"nulltrue);
  381.                                         echo "_";
  382.                                         echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  383.                                         echo "').val())
  384.                                                 \$('#textoGeometriaPoligono').html('Pol�gono definido');
  385.                                         ";
  386.                                     } else {
  387.                                         // line 130
  388.                                         echo "                                            ";
  389.                                         if ($this->extensions['App\Crud\Twig\twigExtension']->isSubStringFunction(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsefalsefalse130), "attr", [], "any"falsefalsefalse130), "class", [], "any"falsefalsefalse130), "dolar")) {
  390.                                             // line 131
  391.                                             echo "                                                \$('#crud_form_";
  392.                                             echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'131$this->source); })()), "html"nulltrue);
  393.                                             echo "').find('#form_";
  394.                                             echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'131$this->source); })()), "html"nulltrue);
  395.                                             echo "_";
  396.                                             echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  397.                                             echo "').wrap('<div class=\"input-group\"/>');
  398.                                                 \$('#crud_form_";
  399.                                             // line 132
  400.                                             echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'132$this->source); })()), "html"nulltrue);
  401.                                             echo "').find('#form_";
  402.                                             echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'132$this->source); })()), "html"nulltrue);
  403.                                             echo "_";
  404.                                             echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  405.                                             echo "').parent().prepend(\"<span class='input-group-addon'>\$</span>\");
  406.                                             ";
  407.                                         }
  408.                                         // line 134
  409.                                         echo "                                        ";
  410.                                     }
  411.                                     // line 135
  412.                                     echo "                                    ";
  413.                                 }
  414.                                 // line 136
  415.                                 echo "                                ";
  416.                             }
  417.                             // line 137
  418.                             echo "
  419.                             ";
  420.                         }
  421.                         // line 139
  422.                         echo "                        ";
  423.                     }
  424.                     // line 140
  425.                     echo "
  426.                     ";
  427.                 }
  428.                 // line 142
  429.                 echo "                ";
  430.             }
  431.             // line 143
  432.             echo "            ";
  433.         }
  434.         $_parent $context['_parent'];
  435.         unset($context['_seq'], $context['_iterated'], $context['key'], $context['widget'], $context['_parent'], $context['loop']);
  436.         $context array_intersect_key($context$_parent) + $_parent;
  437.         // line 144
  438.         echo "
  439.             
  440. \t\t
  441.             ";
  442.         // line 147
  443.         $this->displayBlock('formulario_customs_jquery'$context$blocks);
  444.         // line 149
  445.         echo "
  446.         });
  447.     </script>
  448. ";
  449.         
  450.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  451.         
  452.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  453.     }
  454.     // line 17
  455.     public function block_formulario_customs_functions($context, array $blocks = [])
  456.     {
  457.         $macros $this->macros;
  458.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  459.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""formulario_customs_functions"));
  460.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  461.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""formulario_customs_functions"));
  462.         // line 18
  463.         echo "        ";
  464.         
  465.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  466.         
  467.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  468.     }
  469.     // line 147
  470.     public function block_formulario_customs_jquery($context, array $blocks = [])
  471.     {
  472.         $macros $this->macros;
  473.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  474.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""formulario_customs_jquery"));
  475.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  476.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""formulario_customs_jquery"));
  477.         // line 148
  478.         echo "            ";
  479.         
  480.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  481.         
  482.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  483.     }
  484.     // line 154
  485.     public function block_formulario_content($context, array $blocks = [])
  486.     {
  487.         $macros $this->macros;
  488.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  489.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""formulario_content"));
  490.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  491.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""formulario_content"));
  492.         // line 155
  493.         echo "
  494.     ";
  495.         // line 156
  496.         $this->displayBlock('secondary_heading'$context$blocks);
  497.         // line 158
  498.         echo "
  499.     ";
  500.         // line 159
  501.         if ( !array_key_exists("btnSave"$context)) {
  502.             // line 160
  503.             echo "        ";
  504.             $context["btnSave"] = "btn_do_and_list";
  505.             // line 161
  506.             echo "    ";
  507.         }
  508.         // line 162
  509.         echo "
  510.     ";
  511.         // line 163
  512.         $this->displayBlock('pre_form'$context$blocks);
  513.         // line 165
  514.         echo "
  515.     ";
  516.         // line 166
  517.         $this->displayBlock('form_action'$context$blocks);
  518.         // line 168
  519.         echo "
  520.     ";
  521.         // line 169
  522.         $this->displayBlock('form'$context$blocks);
  523.         // line 331
  524.         echo "
  525.     ";
  526.         // line 332
  527.         $this->displayBlock('post_form'$context$blocks);
  528.         // line 338
  529.         echo "
  530.     ";
  531.         // line 339
  532.         $this->displayBlock('botones_form'$context$blocks);
  533.         // line 346
  534.         echo "
  535.     ";
  536.         // line 347
  537.         $this->displayBlock('end_form'$context$blocks);
  538.         // line 350
  539.         echo "
  540. ";
  541.         
  542.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  543.         
  544.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  545.     }
  546.     // line 156
  547.     public function block_secondary_heading($context, array $blocks = [])
  548.     {
  549.         $macros $this->macros;
  550.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  551.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""secondary_heading"));
  552.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  553.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""secondary_heading"));
  554.         // line 157
  555.         echo "    ";
  556.         
  557.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  558.         
  559.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  560.     }
  561.     // line 163
  562.     public function block_pre_form($context, array $blocks = [])
  563.     {
  564.         $macros $this->macros;
  565.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  566.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pre_form"));
  567.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  568.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pre_form"));
  569.         // line 164
  570.         echo "    ";
  571.         
  572.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  573.         
  574.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  575.     }
  576.     // line 166
  577.     public function block_form_action($context, array $blocks = [])
  578.     {
  579.         $macros $this->macros;
  580.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  581.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""form_action"));
  582.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  583.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""form_action"));
  584.         // line 167
  585.         echo "    ";
  586.         
  587.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  588.         
  589.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  590.     }
  591.     // line 169
  592.     public function block_form($context, array $blocks = [])
  593.     {
  594.         $macros $this->macros;
  595.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  596.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""form"));
  597.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  598.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""form"));
  599.         // line 170
  600.         echo "        ";
  601.         $context["rowopen"] = false;
  602.         // line 171
  603.         echo "        ";
  604.         $context["maxcol"] = (isset($context["formColumns"]) || array_key_exists("formColumns"$context) ? $context["formColumns"] : (function () { throw new RuntimeError('Variable "formColumns" does not exist.'171$this->source); })());
  605.         // line 172
  606.         echo "        ";
  607.         $context["col"] = 0;
  608.         // line 173
  609.         echo "        ";
  610.         $this->displayBlock('form_pre_rows'$context$blocks);
  611.         // line 175
  612.         echo "
  613.         ";
  614.         // line 176
  615.         $context['_parent'] = $context;
  616.         $context['_seq'] = twig_ensure_traversable((isset($context["paramsRequest"]) || array_key_exists("paramsRequest"$context) ? $context["paramsRequest"] : (function () { throw new RuntimeError('Variable "paramsRequest" does not exist.'176$this->source); })()));
  617.         foreach ($context['_seq'] as $context["param"] => $context["value"]) {
  618.             // line 177
  619.             echo "            ";
  620.             if (twig_test_iterable($context["value"])) {
  621.                 // line 178
  622.                 echo "                ";
  623.                 $context['_parent'] = $context;
  624.                 $context['_seq'] = twig_ensure_traversable($context["value"]);
  625.                 foreach ($context['_seq'] as $context["_key"] => $context["val"]) {
  626.                     // line 179
  627.                     echo "                    <input name=\"";
  628.                     echo twig_escape_filter($this->env$context["param"], "html"nulltrue);
  629.                     echo "\" type='hidden' value='";
  630.                     echo twig_escape_filter($this->env$context["val"], "html"nulltrue);
  631.                     echo "'>
  632.                 ";
  633.                 }
  634.                 $_parent $context['_parent'];
  635.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['val'], $context['_parent'], $context['loop']);
  636.                 $context array_intersect_key($context$_parent) + $_parent;
  637.                 // line 181
  638.                 echo "            ";
  639.             } else {
  640.                 // line 182
  641.                 echo "                <input id=\"";
  642.                 echo twig_escape_filter($this->env$context["param"], "html"nulltrue);
  643.                 echo "\" name=\"";
  644.                 echo twig_escape_filter($this->env$context["param"], "html"nulltrue);
  645.                 echo "\" type='hidden' value='";
  646.                 echo twig_escape_filter($this->env$context["value"], "html"nulltrue);
  647.                 echo "'>
  648.             ";
  649.             }
  650.             // line 184
  651.             echo "        ";
  652.         }
  653.         $_parent $context['_parent'];
  654.         unset($context['_seq'], $context['_iterated'], $context['param'], $context['value'], $context['_parent'], $context['loop']);
  655.         $context array_intersect_key($context$_parent) + $_parent;
  656.         // line 185
  657.         echo "        <input id='form_accion_";
  658.         echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'185$this->source); })()), "html"nulltrue);
  659.         echo "' type='hidden' value='";
  660.         echo twig_escape_filter($this->env, (isset($context["accion"]) || array_key_exists("accion"$context) ? $context["accion"] : (function () { throw new RuntimeError('Variable "accion" does not exist.'185$this->source); })()), "html"nulltrue);
  661.         echo "'>
  662.         ";
  663.         // line 198
  664.         echo "        ";
  665.         $context['_parent'] = $context;
  666.         $context['_seq'] = twig_ensure_traversable((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'198$this->source); })()));
  667.         $context['loop'] = [
  668.           'parent' => $context['_parent'],
  669.           'index0' => 0,
  670.           'index'  => 1,
  671.           'first'  => true,
  672.         ];
  673.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  674.             $length count($context['_seq']);
  675.             $context['loop']['revindex0'] = $length 1;
  676.             $context['loop']['revindex'] = $length;
  677.             $context['loop']['length'] = $length;
  678.             $context['loop']['last'] = === $length;
  679.         }
  680.         foreach ($context['_seq'] as $context["key"] => $context["widget"]) {
  681.             // line 199
  682.             echo "            ";
  683.             if ( !twig_get_attribute($this->env$this->source, ($context["notShow"] ?? null), $context["key"], [], "array"truetruefalse199)) {
  684.                 // line 200
  685.                 echo "                ";
  686.                 if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsetruefalse200), "attr", [], "any"falsetruefalse200), "containerclass", [], "array"truetruefalse200)) {
  687.                     // line 201
  688.                     echo "                    ";
  689.                     if ($this->extensions['App\Crud\Twig\twigExtension']->isSubStringFunction(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["widget"], "vars", [], "any"falsefalsefalse201), "attr", [], "any"falsefalsefalse201), "containerclass", [], "array"falsefalsefalse201), "full-row")) {
  690.                         // line 202
  691.                         echo "                        ";
  692.                         if ((isset($context["rowopen"]) || array_key_exists("rowopen"$context) ? $context["rowopen"] : (function () { throw new RuntimeError('Variable "rowopen" does not exist.'202$this->source); })())) {
  693.                             // line 203
  694.                             echo "                            </div>
  695.                             <div class=\"row\">
  696.                         ";
  697.                         }
  698.                         // line 206
  699.                         echo "                        ";
  700.                         $context["col"] = ((isset($context["maxcol"]) || array_key_exists("maxcol"$context) ? $context["maxcol"] : (function () { throw new RuntimeError('Variable "maxcol" does not exist.'206$this->source); })()) - 1);
  701.                         // line 207
  702.                         echo "                    ";
  703.                     }
  704.                     // line 208
  705.                     echo "                ";
  706.                 }
  707.                 // line 209
  708.                 echo "                ";
  709.                 if ( !(isset($context["rowopen"]) || array_key_exists("rowopen"$context) ? $context["rowopen"] : (function () { throw new RuntimeError('Variable "rowopen" does not exist.'209$this->source); })())) {
  710.                     // line 210
  711.                     echo "                    ";
  712.                     $this->displayBlock('rowopen'$context$blocks);
  713.                     // line 213
  714.                     echo "                    ";
  715.                     $context["rowopen"] = true;
  716.                     // line 214
  717.                     echo "                ";
  718.                 }
  719.                 // line 215
  720.                 echo "                ";
  721.                 // line 225
  722.                 echo "                ";
  723.                 $this->displayBlock('draw_widget'$context$blocks);
  724.                 // line 310
  725.                 echo "                ";
  726.                 $context["col"] = ((isset($context["col"]) || array_key_exists("col"$context) ? $context["col"] : (function () { throw new RuntimeError('Variable "col" does not exist.'310$this->source); })()) + 1);
  727.                 // line 311
  728.                 echo "                ";
  729.                 if (((isset($context["col"]) || array_key_exists("col"$context) ? $context["col"] : (function () { throw new RuntimeError('Variable "col" does not exist.'311$this->source); })()) == (isset($context["maxcol"]) || array_key_exists("maxcol"$context) ? $context["maxcol"] : (function () { throw new RuntimeError('Variable "maxcol" does not exist.'311$this->source); })()))) {
  730.                     // line 312
  731.                     echo "                    ";
  732.                     $this->displayBlock('rowclose'$context$blocks);
  733.                     // line 315
  734.                     echo "                    ";
  735.                     $context["rowopen"] = false;
  736.                     // line 316
  737.                     echo "                    ";
  738.                     $context["col"] = 0;
  739.                     // line 317
  740.                     echo "                ";
  741.                 }
  742.                 // line 318
  743.                 echo "            ";
  744.             }
  745.             // line 319
  746.             echo "        ";
  747.             ++$context['loop']['index0'];
  748.             ++$context['loop']['index'];
  749.             $context['loop']['first'] = false;
  750.             if (isset($context['loop']['length'])) {
  751.                 --$context['loop']['revindex0'];
  752.                 --$context['loop']['revindex'];
  753.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  754.             }
  755.         }
  756.         $_parent $context['_parent'];
  757.         unset($context['_seq'], $context['_iterated'], $context['key'], $context['widget'], $context['_parent'], $context['loop']);
  758.         $context array_intersect_key($context$_parent) + $_parent;
  759.         // line 320
  760.         echo "        ";
  761.         if ((isset($context["rowopen"]) || array_key_exists("rowopen"$context) ? $context["rowopen"] : (function () { throw new RuntimeError('Variable "rowopen" does not exist.'320$this->source); })())) {
  762.             // line 321
  763.             echo "            </div>
  764.         ";
  765.         }
  766.         // line 323
  767.         echo "
  768.         ";
  769.         // line 324
  770.         $this->displayBlock('form_post_rows'$context$blocks);
  771.         // line 326
  772.         echo "
  773.         <div class=\"row hide\">
  774.             <table>";
  775.         // line 328
  776.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'328$this->source); })()), 'rest');
  777.         echo "</table>
  778.         </div>
  779.     ";
  780.         
  781.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  782.         
  783.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  784.     }
  785.     // line 173
  786.     public function block_form_pre_rows($context, array $blocks = [])
  787.     {
  788.         $macros $this->macros;
  789.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  790.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""form_pre_rows"));
  791.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  792.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""form_pre_rows"));
  793.         // line 174
  794.         echo "        ";
  795.         
  796.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  797.         
  798.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  799.     }
  800.     // line 210
  801.     public function block_rowopen($context, array $blocks = [])
  802.     {
  803.         $macros $this->macros;
  804.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  805.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""rowopen"));
  806.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  807.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""rowopen"));
  808.         // line 211
  809.         echo "                        <div class=\"row\">
  810.                     ";
  811.         
  812.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  813.         
  814.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  815.     }
  816.     // line 225
  817.     public function block_draw_widget($context, array $blocks = [])
  818.     {
  819.         $macros $this->macros;
  820.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  821.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""draw_widget"));
  822.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  823.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""draw_widget"));
  824.         // line 226
  825.         echo "                ";
  826.         $context["col_class"] = "col-xs-12";
  827.         // line 227
  828.         echo "                ";
  829.         if (( !twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["widget"] ?? null), "vars", [], "any"falsetruefalse227), "attr", [], "any"falsetruefalse227), "containerclass", [], "array"truetruefalse227) ||  !$this->extensions['App\Crud\Twig\twigExtension']->isSubStringFunction(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'227$this->source); })()), "vars", [], "any"falsefalsefalse227), "attr", [], "any"falsefalsefalse227), "containerclass", [], "array"falsefalsefalse227), "full-row"))) {
  830.             // line 228
  831.             echo "                    ";
  832.             if (((isset($context["maxcol"]) || array_key_exists("maxcol"$context) ? $context["maxcol"] : (function () { throw new RuntimeError('Variable "maxcol" does not exist.'228$this->source); })()) > 1)) {
  833.                 // line 229
  834.                 echo "                        ";
  835.                 $context["col_class"] = ((isset($context["col_class"]) || array_key_exists("col_class"$context) ? $context["col_class"] : (function () { throw new RuntimeError('Variable "col_class" does not exist.'229$this->source); })()) . " col-sm-6");
  836.                 // line 230
  837.                 echo "                    ";
  838.             }
  839.             // line 231
  840.             echo "                    ";
  841.             $context["col_class"] = (((isset($context["col_class"]) || array_key_exists("col_class"$context) ? $context["col_class"] : (function () { throw new RuntimeError('Variable "col_class" does not exist.'231$this->source); })()) . " col-md-") . (12 / (isset($context["maxcol"]) || array_key_exists("maxcol"$context) ? $context["maxcol"] : (function () { throw new RuntimeError('Variable "maxcol" does not exist.'231$this->source); })())));
  842.             // line 232
  843.             echo "                ";
  844.         }
  845.         // line 233
  846.         echo "                ";
  847.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["widget"] ?? null), "vars", [], "any"falsetruefalse233), "attr", [], "any"falsetruefalse233), "containerclass", [], "array"truetruefalse233)) {
  848.             // line 234
  849.             echo "                    ";
  850.             $context["col_class"] = (((isset($context["col_class"]) || array_key_exists("col_class"$context) ? $context["col_class"] : (function () { throw new RuntimeError('Variable "col_class" does not exist.'234$this->source); })()) . " ") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'234$this->source); })()), "vars", [], "any"falsefalsefalse234), "attr", [], "any"falsefalsefalse234), "containerclass", [], "array"falsefalsefalse234));
  851.             // line 235
  852.             echo "                ";
  853.         }
  854.         // line 236
  855.         echo "                <div id=\"";
  856.         echo twig_escape_filter($this->env, (isset($context["key"]) || array_key_exists("key"$context) ? $context["key"] : (function () { throw new RuntimeError('Variable "key" does not exist.'236$this->source); })()), "html"nulltrue);
  857.         echo "\" class=\"";
  858.         echo twig_escape_filter($this->env, (isset($context["col_class"]) || array_key_exists("col_class"$context) ? $context["col_class"] : (function () { throw new RuntimeError('Variable "col_class" does not exist.'236$this->source); })()), "html"nulltrue);
  859.         echo "\">
  860.                     <table class=\"table table-striped table-bordered table-hover\">
  861.                         <tr>
  862.                             <th style=\"width: ";
  863.         // line 239
  864.         echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'239$this->source); })()), "html"nulltrue);
  865.         echo "; vertical-align: middle\">
  866.                                 ";
  867.         // line 240
  868.         $context["required"] = "";
  869.         // line 241
  870.         echo "                                ";
  871.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'241$this->source); })()), "vars", [], "any"falsefalsefalse241), "required", [], "any"falsefalsefalse241)) {
  872.             // line 242
  873.             echo "                                ";
  874.             $context["required"] = "required";
  875.             // line 243
  876.             echo "                                ";
  877.         }
  878.         // line 244
  879.         echo "                                <label class=\"crud_label ";
  880.         echo twig_escape_filter($this->env, (isset($context["required"]) || array_key_exists("required"$context) ? $context["required"] : (function () { throw new RuntimeError('Variable "required" does not exist.'244$this->source); })()), "html"nulltrue);
  881.         echo "\" id=\"label_form_";
  882.         echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'244$this->source); })()), "html"nulltrue);
  883.         echo "_";
  884.         echo twig_escape_filter($this->env, (isset($context["key"]) || array_key_exists("key"$context) ? $context["key"] : (function () { throw new RuntimeError('Variable "key" does not exist.'244$this->source); })()), "html"nulltrue);
  885.         echo "\" ";
  886.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["widget"] ?? null), "vars", [], "any"falsetruefalse244), "attr", [], "any"falsetruefalse244), "tip", [], "any"truetruefalse244)) {
  887.             echo "data-rel=\"tooltip\" data-trigger=\"hover\" data-placement=\"top\" data-content=\"More details.\" title=\"";
  888.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'244$this->source); })()), "vars", [], "any"falsefalsefalse244), "attr", [], "any"falsefalsefalse244), "tip", [], "any"falsefalsefalse244), "html"nulltrue);
  889.             echo "\" style=\"cursor: help\"";
  890.         }
  891.         echo ">
  892.                                     ";
  893.         // line 245
  894.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'245$this->source); })()), "vars", [], "any"falsefalsefalse245), "label", [], "any"falsefalsefalse245), "html"nulltrue);
  895.         echo "
  896.                                 </label>
  897.                                 ";
  898.         // line 247
  899.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["widget"] ?? null), "vars", [], "any"falsetruefalse247), "attr", [], "any"falsetruefalse247), "relation", [], "any"truetruefalse247)) {
  900.             // line 248
  901.             echo "                                    <label onclick=\"javascript:creaNuevoRelacion('";
  902.             echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'248$this->source); })()), "html"nulltrue);
  903.             echo "','form_";
  904.             echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'248$this->source); })()), "html"nulltrue);
  905.             echo "_";
  906.             echo twig_escape_filter($this->env, (isset($context["key"]) || array_key_exists("key"$context) ? $context["key"] : (function () { throw new RuntimeError('Variable "key" does not exist.'248$this->source); })()), "html"nulltrue);
  907.             echo "'); return false;\" class=\"relacion\" data-rel=\"tooltip\" data-trigger=\"hover\" data-placement=\"top\" data-content=\"More details.\" title=\"Si no encuentra en la lista la información que necesita, pinche aquí para adicionarla\" style=\"cursor: pointer\" itemid=\"form_";
  908.             echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'248$this->source); })()), "html"nulltrue);
  909.             echo "_";
  910.             echo twig_escape_filter($this->env, (isset($context["key"]) || array_key_exists("key"$context) ? $context["key"] : (function () { throw new RuntimeError('Variable "key" does not exist.'248$this->source); })()), "html"nulltrue);
  911.             echo "\">
  912.                                         <i class=\"icon fas fa-plus-square green\" itemid=\"";
  913.             // line 249
  914.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'249$this->source); })()), "vars", [], "any"falsefalsefalse249), "id", [], "any"falsefalsefalse249), "html"nulltrue);
  915.             echo "\"></i>&nbsp;
  916.                                     </label>
  917.                                 ";
  918.         }
  919.         // line 252
  920.         echo "                            </th>
  921.                             <td style=\"vertical-align: middle\" class=\"crud_td\">
  922.                                 ";
  923.         // line 254
  924.         if (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["widget"] ?? null), "vars", [], "any"falsetruefalse254), "type", [], "any"truetruefalse254) && (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'254$this->source); })()), "vars", [], "any"falsefalsefalse254), "type", [], "any"falsefalsefalse254) == "file")) && twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'254$this->source); })()), "getFieldValue", [=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'254$this->source); })()), "vars", [], "any"falsefalsefalse254), "name", [], "any"falsefalsefalse254)], "method"falsefalsefalse254))) {
  925.             // line 255
  926.             echo "                                    <div id=\"hidefile_";
  927.             echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'255$this->source); })()), "html"nulltrue);
  928.             echo "_";
  929.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'255$this->source); })()), "vars", [], "any"falsefalsefalse255), "id", [], "any"falsefalsefalse255), "html"nulltrue);
  930.             echo "\">
  931.                                         ";
  932.             // line 256
  933.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["widget"] ?? null), "vars", [], "any"falsetruefalse256), "attr", [], "any"falsetruefalse256), "accept", [], "any"truetruefalse256) && $this->extensions['App\Crud\Twig\twigExtension']->isSubStringFunction(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'256$this->source); })()), "vars", [], "any"falsefalsefalse256), "attr", [], "any"falsefalsefalse256), "accept", [], "any"falsefalsefalse256), "image"))) {
  934.                 // line 257
  935.                 echo "                                            <img src=\"";
  936.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'257$this->source); })()), "getFieldValue", [=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'257$this->source); })()), "vars", [], "any"falsefalsefalse257), "name", [], "any"falsefalsefalse257)], "method"falsefalsefalse257), "getUrl", [], "method"falsefalsefalse257)), "html"nulltrue);
  937.                 echo "\" width='80px'>
  938.                                         ";
  939.             } else {
  940.                 // line 259
  941.                 echo "                                            <a target=\"_blank\" href=\"";
  942.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'259$this->source); })()), "getFieldValue", [=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'259$this->source); })()), "vars", [], "any"falsefalsefalse259), "name", [], "any"falsefalsefalse259)], "method"falsefalsefalse259), "getUrl", [], "method"falsefalsefalse259)), "html"nulltrue);
  943.                 echo "\">";
  944.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'259$this->source); })()), "getFieldValue", [=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'259$this->source); })()), "vars", [], "any"falsefalsefalse259), "name", [], "any"falsefalsefalse259)], "method"falsefalsefalse259), "getFileName", [], "method"falsefalsefalse259), "html"nulltrue);
  945.                 echo "</a>
  946.                                         ";
  947.             }
  948.             // line 261
  949.             echo "                                        ";
  950.             if ( !twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["widget"] ?? null), "vars", [], "any"falsetruefalse261), "attr", [], "any"falsetruefalse261), "readonly", [], "any"truetruefalse261)) {
  951.                 echo "                                        
  952.                                             <span class=\"action-buttons\">
  953.                                                 <a class=\"hide_item_";
  954.                 // line 263
  955.                 echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'263$this->source); })()), "html"nulltrue);
  956.                 echo "\" id=\"hide_form_";
  957.                 echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'263$this->source); })()), "html"nulltrue);
  958.                 echo "_";
  959.                 echo twig_escape_filter($this->env, (isset($context["key"]) || array_key_exists("key"$context) ? $context["key"] : (function () { throw new RuntimeError('Variable "key" does not exist.'263$this->source); })()), "html"nulltrue);
  960.                 echo "\" item_id=\"form_";
  961.                 echo twig_escape_filter($this->env, (isset($context["key"]) || array_key_exists("key"$context) ? $context["key"] : (function () { throw new RuntimeError('Variable "key" does not exist.'263$this->source); })()), "html"nulltrue);
  962.                 echo "\" href=\"\"><i class=\"fas fa-trash red bigger-130\" title=\"";
  963.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("botones.eliminar_adjunto", [], "crud");
  964.                 echo "\"></i></a>
  965.                                             </span>
  966.                                         ";
  967.             }
  968.             // line 266
  969.             echo "                                        <input type=\"hidden\" id=\"oldfile_form_";
  970.             echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'266$this->source); })()), "html"nulltrue);
  971.             echo "_";
  972.             echo twig_escape_filter($this->env, (isset($context["key"]) || array_key_exists("key"$context) ? $context["key"] : (function () { throw new RuntimeError('Variable "key" does not exist.'266$this->source); })()), "html"nulltrue);
  973.             echo "\" value=\"clear\" name=\"oldfile[";
  974.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'266$this->source); })()), "vars", [], "any"falsefalsefalse266), "name", [], "any"falsefalsefalse266), "html"nulltrue);
  975.             echo "]\">
  976.                                     </div>
  977.                                     ";
  978.             // line 268
  979.             if ( !twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["widget"] ?? null), "vars", [], "any"falsetruefalse268), "attr", [], "any"falsetruefalse268), "readonly", [], "any"truetruefalse268)) {
  980.                 echo "                                        
  981.                                         <div id=\"file_";
  982.                 // line 269
  983.                 echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'269$this->source); })()), "html"nulltrue);
  984.                 echo "_form_";
  985.                 echo twig_escape_filter($this->env, (isset($context["key"]) || array_key_exists("key"$context) ? $context["key"] : (function () { throw new RuntimeError('Variable "key" does not exist.'269$this->source); })()), "html"nulltrue);
  986.                 echo "\" class=\"hide ";
  987.                 if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["widget"] ?? null), "vars", [], "any"falsetruefalse269), "required", [], "any"truetruefalse269) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'269$this->source); })()), "vars", [], "any"falsefalsefalse269), "required", [], "any"falsefalsefalse269))) {
  988.                     echo "required";
  989.                 }
  990.                 echo "\">
  991.                                             ";
  992.                 // line 270
  993.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'270$this->source); })()), 'widget');
  994.                 echo "
  995.                                         </div>
  996.                                     ";
  997.             }
  998.             // line 273
  999.             echo "                                ";
  1000.         } else {
  1001.             // line 274
  1002.             echo "                                    ";
  1003.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["widget"] ?? null), "vars", [], "any"falsetruefalse274), "attr", [], "any"falsetruefalse274), "class", [], "any"truetruefalse274) && $this->extensions['App\Crud\Twig\twigExtension']->isSubStringFunction(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'274$this->source); })()), "vars", [], "any"falsefalsefalse274), "attr", [], "any"falsefalsefalse274), "class", [], "any"falsefalsefalse274), "geometria_punto"))) {
  1004.                 // line 275
  1005.                 echo "                                        <a class=\"botonmapaPunto noti btn-minier\" title=\"Definir Ubicación en Mapa\" itemid=\"form_";
  1006.                 echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'275$this->source); })()), "html"nulltrue);
  1007.                 echo "_";
  1008.                 echo twig_escape_filter($this->env, (isset($context["key"]) || array_key_exists("key"$context) ? $context["key"] : (function () { throw new RuntimeError('Variable "key" does not exist.'275$this->source); })()), "html"nulltrue);
  1009.                 echo "\" geom=\"punto\" href=\"#\">
  1010.                                             <i class=\"ace-icon fa fa-globe bigger-220 blue\"></i>
  1011.                                         </a>
  1012.                                         <span id=\"textoGeometriaPunto\"></span>
  1013.                                         ";
  1014.                 // line 279
  1015.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'279$this->source); })()), 'widget');
  1016.                 echo "
  1017.                                     ";
  1018.             } else {
  1019.                 // line 281
  1020.                 echo "                                        ";
  1021.                 if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["widget"] ?? null), "vars", [], "any"falsetruefalse281), "attr", [], "any"falsetruefalse281), "class", [], "any"truetruefalse281) && $this->extensions['App\Crud\Twig\twigExtension']->isSubStringFunction(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'281$this->source); })()), "vars", [], "any"falsefalsefalse281), "attr", [], "any"falsefalsefalse281), "class", [], "any"falsefalsefalse281), "geometria_poligono"))) {
  1022.                     // line 282
  1023.                     echo "                                            <a class=\"botonmapa noti btn-minier\" title=\"Definir Ubicación en Mapa\" itemid=\"form_";
  1024.                     echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'282$this->source); })()), "html"nulltrue);
  1025.                     echo "_";
  1026.                     echo twig_escape_filter($this->env, (isset($context["key"]) || array_key_exists("key"$context) ? $context["key"] : (function () { throw new RuntimeError('Variable "key" does not exist.'282$this->source); })()), "html"nulltrue);
  1027.                     echo "\" geom=\"poligono\" href=\"#\">
  1028.                                                 <i class=\"fas fa-globe bigger-220 blue\"></i>
  1029.                                             </a>
  1030.                                             <span id=\"textoGeometriaPoligono\"></span>
  1031.                                             ";
  1032.                     // line 286
  1033.                     echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'286$this->source); })()), 'widget');
  1034.                     echo "
  1035.                                         ";
  1036.                 } else {
  1037.                     // line 288
  1038.                     echo "                                            ";
  1039.                     if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["widget"] ?? null), "vars", [], "any"falsetruefalse288), "attr", [], "any"falsetruefalse288), "class", [], "any"truetruefalse288) && $this->extensions['App\Crud\Twig\twigExtension']->isSubStringFunction(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'288$this->source); })()), "vars", [], "any"falsefalsefalse288), "attr", [], "any"falsefalsefalse288), "class", [], "any"falsefalsefalse288), "ace-switch"))) {
  1040.                         // line 289
  1041.                         echo "                                                <div style=\"text-align: center\">
  1042.                                                     <label class=\"block\" style='margin-bottom: 0! important'>
  1043.                                                         ";
  1044.                         // line 291
  1045.                         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'291$this->source); })()), 'widget');
  1046.                         echo "
  1047.                                                         <span class=\"lbl\" data-lbl=\"";
  1048.                         // line 292
  1049.                         echo twig_escape_filter($this->envtwig_upper_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("choice_value.yes", [], "crud")), "html"nulltrue);
  1050.                         echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
  1051.                         echo twig_escape_filter($this->envtwig_upper_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("choice_value.no", [], "crud")), "html"nulltrue);
  1052.                         echo "\"></span>
  1053.                                                     </label>
  1054.                                                 </div>
  1055.                                             ";
  1056.                     } else {
  1057.                         // line 296
  1058.                         echo "                                                ";
  1059.                         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["widget"] ?? null), "vars", [], "any"falsetruefalse296), "attr", [], "any"falsetruefalse296), "readonly", [], "any"truetruefalse296)) {
  1060.                             // line 297
  1061.                             echo "                                                    <span id=\"span_";
  1062.                             echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'297$this->source); })()), "html"nulltrue);
  1063.                             echo "_";
  1064.                             echo twig_escape_filter($this->env, (isset($context["key"]) || array_key_exists("key"$context) ? $context["key"] : (function () { throw new RuntimeError('Variable "key" does not exist.'297$this->source); })()), "html"nulltrue);
  1065.                             echo "\">";
  1066.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'297$this->source); })()), "getFieldValue", [=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'297$this->source); })()), "vars", [], "any"falsefalsefalse297), "name", [], "any"falsefalsefalse297), => true], "method"falsefalsefalse297), "html"nulltrue);
  1067.                             echo "</span>
  1068.                                                 ";
  1069.                         } else {
  1070.                             // line 299
  1071.                             echo "                                                    ";
  1072.                             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["widget"]) || array_key_exists("widget"$context) ? $context["widget"] : (function () { throw new RuntimeError('Variable "widget" does not exist.'299$this->source); })()), 'widget');
  1073.                             echo "
  1074.                                                 ";
  1075.                         }
  1076.                         // line 301
  1077.                         echo "                                            ";
  1078.                     }
  1079.                     // line 302
  1080.                     echo "                                        ";
  1081.                 }
  1082.                 // line 303
  1083.                 echo "                                    ";
  1084.             }
  1085.             // line 304
  1086.             echo "                                ";
  1087.         }
  1088.         // line 305
  1089.         echo "                            </td>
  1090.                         </tr>
  1091.                     </table>
  1092.                 </div>
  1093.                                 ";
  1094.         
  1095.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1096.         
  1097.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1098.     }
  1099.     // line 312
  1100.     public function block_rowclose($context, array $blocks = [])
  1101.     {
  1102.         $macros $this->macros;
  1103.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""rowclose"));
  1105.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""rowclose"));
  1107.         // line 313
  1108.         echo "                        </div>
  1109.                     ";
  1110.         
  1111.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1112.         
  1113.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1114.     }
  1115.     // line 324
  1116.     public function block_form_post_rows($context, array $blocks = [])
  1117.     {
  1118.         $macros $this->macros;
  1119.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1120.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""form_post_rows"));
  1121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""form_post_rows"));
  1123.         // line 325
  1124.         echo "        ";
  1125.         
  1126.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1127.         
  1128.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1129.     }
  1130.     // line 332
  1131.     public function block_post_form($context, array $blocks = [])
  1132.     {
  1133.         $macros $this->macros;
  1134.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1135.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""post_form"));
  1136.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1137.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""post_form"));
  1138.         // line 333
  1139.         echo "        <input type=\"hidden\" id=\"relaciontarget-";
  1140.         echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'333$this->source); })()), "html"nulltrue);
  1141.         echo "\">
  1142.         <input type=\"hidden\" id=\"relacionnombre-";
  1143.         // line 334
  1144.         echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'334$this->source); })()), "html"nulltrue);
  1145.         echo "\">
  1146.         <div id=\"dialog-mapa-";
  1147.         // line 335
  1148.         echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'335$this->source); })()), "html"nulltrue);
  1149.         echo "\" title=\"Definir Ubicación en Mapa\"></div>
  1150.         <div id=\"dialog-relacion-";
  1151.         // line 336
  1152.         echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'336$this->source); })()), "html"nulltrue);
  1153.         echo "\" title=\"Definir elemento\"></div>
  1154.     ";
  1155.         
  1156.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1157.         
  1158.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1159.     }
  1160.     // line 339
  1161.     public function block_botones_form($context, array $blocks = [])
  1162.     {
  1163.         $macros $this->macros;
  1164.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1165.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""botones_form"));
  1166.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1167.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""botones_form"));
  1168.         // line 340
  1169.         echo "        <div class=\"row\">
  1170.             <div class=\"col-xs-12\">
  1171.                 <div class=\"hr hr-8 hr-dotted\"></div>
  1172.             </div>
  1173.         </div>
  1174.     ";
  1175.         
  1176.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1177.         
  1178.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1179.     }
  1180.     // line 347
  1181.     public function block_end_form($context, array $blocks = [])
  1182.     {
  1183.         $macros $this->macros;
  1184.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1185.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""end_form"));
  1186.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1187.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""end_form"));
  1188.         // line 348
  1189.         echo "        ";
  1190.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'348$this->source); })()), 'form_end');
  1191.         echo "
  1192.     ";
  1193.         
  1194.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1195.         
  1196.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1197.     }
  1198.     public function getTemplateName()
  1199.     {
  1200.         return "@crud\\crud\\formulario.html.twig";
  1201.     }
  1202.     public function getDebugInfo()
  1203.     {
  1204.         return array (  1284 => 348,  1274 => 347,  1259 => 340,  1249 => 339,  1237 => 336,  1233 => 335,  1229 => 334,  1224 => 333,  1214 => 332,  1204 => 325,  1194 => 324,  1183 => 313,  1173 => 312,  1159 => 305,  1156 => 304,  1153 => 303,  1150 => 302,  1147 => 301,  1141 => 299,  1131 => 297,  1128 => 296,  1119 => 292,  1115 => 291,  1111 => 289,  1108 => 288,  1103 => 286,  1093 => 282,  1090 => 281,  1085 => 279,  1075 => 275,  1072 => 274,  1069 => 273,  1063 => 270,  1053 => 269,  1049 => 268,  1039 => 266,  1025 => 263,  1019 => 261,  1011 => 259,  1005 => 257,  1003 => 256,  996 => 255,  994 => 254,  990 => 252,  984 => 249,  971 => 248,  969 => 247,  964 => 245,  949 => 244,  946 => 243,  943 => 242,  940 => 241,  938 => 240,  934 => 239,  925 => 236,  922 => 235,  919 => 234,  916 => 233,  913 => 232,  910 => 231,  907 => 230,  904 => 229,  901 => 228,  898 => 227,  895 => 226,  885 => 225,  874 => 211,  864 => 210,  854 => 174,  844 => 173,  831 => 328,  827 => 326,  825 => 324,  822 => 323,  818 => 321,  815 => 320,  801 => 319,  798 => 318,  795 => 317,  792 => 316,  789 => 315,  786 => 312,  783 => 311,  780 => 310,  777 => 225,  775 => 215,  772 => 214,  769 => 213,  766 => 210,  763 => 209,  760 => 208,  757 => 207,  754 => 206,  749 => 203,  746 => 202,  743 => 201,  740 => 200,  737 => 199,  719 => 198,  712 => 185,  706 => 184,  696 => 182,  693 => 181,  682 => 179,  677 => 178,  674 => 177,  670 => 176,  667 => 175,  664 => 173,  661 => 172,  658 => 171,  655 => 170,  645 => 169,  635 => 167,  625 => 166,  615 => 164,  605 => 163,  595 => 157,  585 => 156,  574 => 350,  572 => 347,  569 => 346,  567 => 339,  564 => 338,  562 => 332,  559 => 331,  557 => 169,  554 => 168,  552 => 166,  549 => 165,  547 => 163,  544 => 162,  541 => 161,  538 => 160,  536 => 159,  533 => 158,  531 => 156,  528 => 155,  518 => 154,  508 => 148,  498 => 147,  488 => 18,  478 => 17,  465 => 149,  463 => 147,  458 => 144,  452 => 143,  449 => 142,  445 => 140,  442 => 139,  438 => 137,  435 => 136,  432 => 135,  429 => 134,  420 => 132,  411 => 131,  408 => 130,  397 => 126,  384 => 121,  381 => 120,  372 => 118,  359 => 113,  356 => 112,  344 => 107,  338 => 106,  325 => 105,  322 => 104,  312 => 98,  306 => 96,  303 => 95,  297 => 93,  295 => 92,  285 => 89,  277 => 88,  271 => 87,  258 => 86,  255 => 85,  243 => 83,  234 => 82,  231 => 81,  228 => 80,  225 => 79,  222 => 78,  219 => 77,  216 => 76,  213 => 75,  210 => 74,  207 => 73,  204 => 72,  197 => 68,  191 => 67,  187 => 66,  181 => 65,  176 => 63,  168 => 59,  165 => 58,  155 => 56,  152 => 55,  149 => 54,  145 => 53,  136 => 47,  128 => 42,  103 => 19,  101 => 17,  84 => 2,  74 => 1,  64 => 154,  61 => 153,  59 => 1,);
  1205.     }
  1206.     public function getSourceContext()
  1207.     {
  1208.         return new Source("{% block formulario_jquery %}
  1209.     <script type=\"text/javascript\">
  1210.         function mostrarTextoGeometria(geometria)
  1211.         {
  1212.             cadenaRetorno = '';
  1213.             if (geometria.length)
  1214.             {
  1215.                 cadena = geometria.replace('POINT(','');
  1216.                 cadena = cadena.replace(')','');
  1217.                 punto = cadena.split(' ');
  1218.                 cadenaRetorno = 'Lat:'+ parseFloat(punto[1]).toFixed(2) + ' Lon:'+ parseFloat(punto[0]).toFixed(2);
  1219.             }
  1220.             return cadenaRetorno;
  1221.         }
  1222.         {% block formulario_customs_functions %}
  1223.         {% endblock formulario_customs_functions %}
  1224.         \$(function(){
  1225. \t\t
  1226.             \$('.just_numbers').keypress(function(e){
  1227.                 if (e.which<48 || e.which>57 )
  1228.                     e.preventDefault();
  1229.             });
  1230.             \$('.just_floats').keypress(function(e){
  1231.                 if (e.which === 46)  //el punto
  1232.                     {
  1233.                         //buscar si ya hay un punto
  1234.                         var val = \$(this).val();
  1235.                         if (val.indexOf('.')>=0)
  1236.                         {
  1237.                             e.preventDefault();
  1238.                         }
  1239.                     }
  1240.                     else
  1241.                         if (e.which<48 || e.which>57 )
  1242.                             e.preventDefault();
  1243.             });
  1244. \t\t
  1245.             \$(\"#crud_form_{{ routeClassName }}\").find(\".form-control\").each(function () {
  1246.                 var idK=\$(this).attr('id');
  1247.                 if (idK)
  1248.                 {
  1249.                     var idW = idK.replace('form','');
  1250.                     idW = 'form_{{ routeClassName}}'+ idW;
  1251.                     \$(this).attr('id',idW);
  1252.                     \$(this).removeClass('form-control');
  1253.                 }
  1254.             });
  1255.             
  1256.             {% for key,widget in form %}
  1257.                 {% if key != '_token' %}
  1258.                     {% if widget.vars.attr.readonly is defined %}
  1259.                         \$('#crud_form_{{ routeClassName }}').find('#form_{{ routeClassName }}_{{ key}}').addClass('hide');
  1260.                     {% endif %}
  1261.                     {% if widget.vars.attr.dependiente_parent is defined %}
  1262.                         \$('#form_{{ widget.vars.attr.dependiente_parent }}').change(function(){
  1263.                             var selected = \$(this).val();
  1264.                             if (selected==\"\") selected=\"-1\";
  1265. //                            var baseSite = document.getElementById('baseSite').value;
  1266.                             var url = '{{ path('crudDependiente', {'rol': 'all', 'className': widget.vars.attr.dependiente_class, 'fieldName': widget.vars.attr.dependiente_field, 'value': '__VALUE__'}) }}';
  1267.                             url = url.replace('__VALUE__',selected);
  1268. //                            var url = baseSite+\"dependientes/{{ widget.vars.attr.dependiente_class }}/{{ widget.vars.attr.dependiente_field }}/\"+selected;
  1269.                             \$('#{{ key }}').mask('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
  1270.                             \$('#form_{{ routeClassName }}_{{ key }}').load(url, function(){
  1271.                                 \$('#{{ key }}').unmask();
  1272.                             });
  1273.                         });
  1274.                     {% endif %}
  1275.                     {% if widget.vars.attr.class is defined %}
  1276.                         {% if isSubString(widget.vars.attr.class,'spinbox-input') %}
  1277.                             {% set min = \"\" %}
  1278.                             {% if widget.vars.attr.min is defined %}
  1279.                                 {% set min = \"min: \"~widget.vars.attr.min~\", \" %}
  1280.                             {% endif %}
  1281.                             {% set max = \"\" %}
  1282.                             {% if widget.vars.attr.max is defined %}
  1283.                                 {% set max = \"max: \"~widget.vars.attr.max~\", \" %}
  1284.                             {% endif %}
  1285.                             \$('#crud_form_{{ routeClassName }}').find('#form_{{ routeClassName }}_{{ key}}').attr('type','text');
  1286.                             \$('#crud_form_{{ routeClassName }}').find('#form_{{ routeClassName }}_{{ key}}').ace_spinner({ {{ min }}{{ max }} step: 1, on_sides: true, icon_up: 'fas fa-plus', icon_down: 'fas fa-minus ', btn_up_class: 'btn-grey', btn_down_class: 'btn-grey', full_width: true});
  1287.                         {% else %}
  1288.                             {% if isSubString(widget.vars.attr.class,'campo_fecha') %}
  1289.                                 \$('#crud_form_{{ routeClassName }}').find('#form_{{ routeClassName }}_{{ key}}').wrap('<div class=\"input-group\" id=\"campo_fecha_{{ routeClassName }}_{{ key}}\" />');
  1290.                                 \$('#campo_fecha_{{ routeClassName }}_{{ key}}').append('<span class=\"input-group-addon\"><i class=\"fas fa-calendar bigger-110\"></i></span>');
  1291.                                 \$('#crud_form_{{ routeClassName }}').find('#form_{{ routeClassName }}_{{ key}}').attr('type','text');
  1292.                                 \$('#crud_form_{{ routeClassName }}').find('#form_{{ routeClassName }}_{{ key}}').datepicker({
  1293.                                         autoclose: true,
  1294.                                         todayHighlight: true,
  1295.                                         {% if widget.vars.attr.startDate is defined %}
  1296.                                             startDate: '{{ widget.vars.attr.startDate }}',
  1297.                                         {% endif %}
  1298.                                         {% if widget.vars.attr.endDate is defined %}
  1299.                                             endDate: '{{ widget.vars.attr.endDate }}',
  1300.                                         {% endif %}
  1301.                                         language: '{{ app.request.locale }}'
  1302.                                 })
  1303.                                 .next().on(ace.click_event, function(){
  1304.                                         \$(this).prev().focus();
  1305.                                 });
  1306.                             {% else %}
  1307.                                 {% if isSubString(widget.vars.attr.class,'campo_hora_fecha') %}
  1308.                                     \$('#crud_form_{{ routeClassName }}').find('#form_{{ routeClassName }}_{{ key}}').wrap('<div class=\"input-group\" id=\"campo_fecha_{{ routeClassName }}_{{ key}}\" />');
  1309.                                     \$('#campo_fecha_{{ routeClassName }}_{{ key}}').append('<span class=\"input-group-addon\"><i class=\"fas fa-calendar bigger-110\"></i></span>');
  1310.                                     \$('#crud_form_{{ routeClassName }}').find('#form_{{ routeClassName }}_{{ key}}').datetimepicker()
  1311.                                     .next().on(ace.click_event, function(){
  1312.                                                 \$(this).prev().focus();
  1313.                                     });
  1314.                                 {% else %}
  1315.                                     {% if isSubString(widget.vars.attr.class,'geometria_punto') %}
  1316.                                         \$('#crud_form_{{ routeClassName }}').find('#form_{{ routeClassName }}_{{ key}}').change(function(){
  1317.                                             geometria = \$(this).val();
  1318.                                             valor = mostrarTextoGeometria(geometria);
  1319.                                             \$('#textoGeometriaPunto').html(valor);
  1320.                                         });
  1321.                                         \$('#crud_form_{{ routeClassName }}').find('#form_{{ routeClassName }}_{{ key}}').trigger('change');
  1322.                                     {% else %}
  1323.                                         {% if isSubString(widget.vars.attr.class,'geometria_poligono') %}
  1324.                                             \$('#crud_form_{{ routeClassName }}').find('#form_{{ routeClassName }}_{{ key}}').change(function(){
  1325.                                                 \$('#textoGeometriaPoligono').html('Pol�gono definido');
  1326.                                             });
  1327.                                             if(\$('#crud_form_{{ routeClassName }}').find('#form_{{ routeClassName }}_{{ key}}').val())
  1328.                                                 \$('#textoGeometriaPoligono').html('Pol�gono definido');
  1329.                                         {% else %}
  1330.                                             {% if isSubString(widget.vars.attr.class,'dolar') %}
  1331.                                                 \$('#crud_form_{{ routeClassName }}').find('#form_{{ routeClassName }}_{{ key}}').wrap('<div class=\"input-group\"/>');
  1332.                                                 \$('#crud_form_{{ routeClassName }}').find('#form_{{ routeClassName }}_{{ key}}').parent().prepend(\"<span class='input-group-addon'>\$</span>\");
  1333.                                             {% endif %}
  1334.                                         {% endif %}
  1335.                                     {% endif %}
  1336.                                 {% endif %}
  1337.                             {% endif %}
  1338.                         {% endif %}
  1339.                     {% endif %}
  1340.                 {% endif %}
  1341.             {% endfor %}
  1342.             
  1343. \t\t
  1344.             {% block formulario_customs_jquery %}
  1345.             {% endblock formulario_customs_jquery %}
  1346.         });
  1347.     </script>
  1348. {% endblock %}
  1349. {% block formulario_content %}
  1350.     {% block secondary_heading %}
  1351.     {% endblock %}
  1352.     {% if not btnSave is defined %}
  1353.         {% set btnSave='btn_do_and_list' %}
  1354.     {% endif %}
  1355.     {% block pre_form %}
  1356.     {% endblock %}
  1357.     {% block form_action %}
  1358.     {% endblock %}
  1359.     {% block form %}
  1360.         {% set rowopen=false %}
  1361.         {% set maxcol=formColumns %}
  1362.         {% set col=0 %}
  1363.         {% block form_pre_rows %}
  1364.         {% endblock form_pre_rows %}
  1365.         {% for param, value in paramsRequest %}
  1366.             {% if value is iterable %}
  1367.                 {% for val in value %}
  1368.                     <input name=\"{{ param }}\" type='hidden' value='{{ val }}'>
  1369.                 {% endfor %}
  1370.             {% else %}
  1371.                 <input id=\"{{ param }}\" name=\"{{ param }}\" type='hidden' value='{{ value }}'>
  1372.             {% endif %}
  1373.         {% endfor %}
  1374.         <input id='form_accion_{{ routeClassName }}' type='hidden' value='{{ accion }}'>
  1375.         {#% for key,widget in form %}
  1376.                 {% for k,el in widget.vars if k != 'is_selected'%}
  1377.                     {% if k=='attr' or k=='form' or k=='block_prefixes' or k=='errors' or k=='label_attr' or k=='preferred_choices' or k=='choices' %}
  1378.                         {% for k1,el1 in widget.vars.attr %}
  1379.                             {{ k }}=>{{ k1 }}=>{{ el1 }}<br>
  1380.                         {% endfor %}
  1381.                     {% else %}
  1382.                         {{ k }}=>{{ el }}<br>
  1383.                     {% endif %}
  1384.                 {% endfor %}
  1385.         {% endfor %#}
  1386.         {% for key,widget in form %}
  1387.             {% if notShow[key] is not defined %}
  1388.                 {% if widget.vars.attr['containerclass'] is defined %}
  1389.                     {% if  isSubString(widget.vars.attr['containerclass'],'full-row') %}
  1390.                         {% if rowopen %}
  1391.                             </div>
  1392.                             <div class=\"row\">
  1393.                         {% endif %}
  1394.                         {% set col=maxcol-1 %}
  1395.                     {% endif %}
  1396.                 {% endif %}
  1397.                 {% if not rowopen %}
  1398.                     {% block rowopen %}
  1399.                         <div class=\"row\">
  1400.                     {% endblock rowopen %}
  1401.                     {% set rowopen=true %}
  1402.                 {% endif %}
  1403.                 {#% for k,el in widget.vars if k != 'is_selected'%}
  1404.                     {% if k=='attr' or k=='form' or k=='block_prefixes' or k=='errors' or k=='label_attr' or k=='preferred_choices' or k=='choices' %}
  1405.                         {% for k1,el1 in widget.vars.attr %}
  1406.                             {{ k }}=>{{ k1 }}=>{{ el1 }}<br>
  1407.                         {% endfor %}
  1408.                     {% else %}
  1409.                         {{ k }}=>{{ el }}<br>
  1410.                     {% endif %}
  1411.                 {% endfor %#}
  1412.                 {% block draw_widget %}
  1413.                 {% set col_class='col-xs-12' %}
  1414.                 {% if widget.vars.attr['containerclass'] is not defined or not isSubString(widget.vars.attr['containerclass'],'full-row') %}
  1415.                     {% if maxcol>1 %}
  1416.                         {% set col_class=col_class~' col-sm-6' %}
  1417.                     {% endif %}
  1418.                     {% set col_class=col_class~' col-md-'~12/maxcol %}
  1419.                 {% endif %}
  1420.                 {% if widget.vars.attr['containerclass'] is defined %}
  1421.                     {% set col_class=col_class~' '~widget.vars.attr['containerclass'] %}
  1422.                 {% endif %}
  1423.                 <div id=\"{{key}}\" class=\"{{ col_class }}\">
  1424.                     <table class=\"table table-striped table-bordered table-hover\">
  1425.                         <tr>
  1426.                             <th style=\"width: {{ widthLabel }}; vertical-align: middle\">
  1427.                                 {% set required = '' %}
  1428.                                 {% if widget.vars.required %}
  1429.                                 {%   set required = 'required' %}
  1430.                                 {% endif %}
  1431.                                 <label class=\"crud_label {{required}}\" id=\"label_form_{{ routeClassName }}_{{ key }}\" {% if widget.vars.attr.tip is defined %}data-rel=\"tooltip\" data-trigger=\"hover\" data-placement=\"top\" data-content=\"More details.\" title=\"{{ widget.vars.attr.tip }}\" style=\"cursor: help\"{% endif %}>
  1432.                                     {{widget.vars.label}}
  1433.                                 </label>
  1434.                                 {% if widget.vars.attr.relation is defined %}
  1435.                                     <label onclick=\"javascript:creaNuevoRelacion('{{ routeClassName }}','form_{{ routeClassName }}_{{ key }}'); return false;\" class=\"relacion\" data-rel=\"tooltip\" data-trigger=\"hover\" data-placement=\"top\" data-content=\"More details.\" title=\"Si no encuentra en la lista la información que necesita, pinche aquí para adicionarla\" style=\"cursor: pointer\" itemid=\"form_{{ routeClassName }}_{{ key }}\">
  1436.                                         <i class=\"icon fas fa-plus-square green\" itemid=\"{{ widget.vars.id }}\"></i>&nbsp;
  1437.                                     </label>
  1438.                                 {% endif %}
  1439.                             </th>
  1440.                             <td style=\"vertical-align: middle\" class=\"crud_td\">
  1441.                                 {% if widget.vars.type is defined and widget.vars.type=='file' and entity.getFieldValue(widget.vars.name)%}
  1442.                                     <div id=\"hidefile_{{ routeClassName }}_{{ widget.vars.id }}\">
  1443.                                         {% if widget.vars.attr.accept is defined and isSubString(widget.vars.attr.accept,'image') %}
  1444.                                             <img src=\"{{ absolute_url(entity.getFieldValue(widget.vars.name).getUrl()) }}\" width='80px'>
  1445.                                         {% else %}
  1446.                                             <a target=\"_blank\" href=\"{{ absolute_url(entity.getFieldValue(widget.vars.name).getUrl()) }}\">{{entity.getFieldValue(widget.vars.name).getFileName() }}</a>
  1447.                                         {% endif %}
  1448.                                         {% if widget.vars.attr.readonly is not defined %}                                        
  1449.                                             <span class=\"action-buttons\">
  1450.                                                 <a class=\"hide_item_{{ routeClassName }}\" id=\"hide_form_{{ routeClassName }}_{{ key }}\" item_id=\"form_{{ key }}\" href=\"\"><i class=\"fas fa-trash red bigger-130\" title=\"{% trans from 'crud' %}botones.eliminar_adjunto{% endtrans %}\"></i></a>
  1451.                                             </span>
  1452.                                         {% endif %}
  1453.                                         <input type=\"hidden\" id=\"oldfile_form_{{ routeClassName }}_{{ key }}\" value=\"clear\" name=\"oldfile[{{ widget.vars.name }}]\">
  1454.                                     </div>
  1455.                                     {% if widget.vars.attr.readonly is not defined %}                                        
  1456.                                         <div id=\"file_{{ routeClassName }}_form_{{ key }}\" class=\"hide {% if widget.vars.required is defined and widget.vars.required %}required{% endif %}\">
  1457.                                             {{ form_widget(widget) }}
  1458.                                         </div>
  1459.                                     {% endif %}
  1460.                                 {% else %}
  1461.                                     {% if widget.vars.attr.class is defined and isSubString(widget.vars.attr.class,'geometria_punto') %}
  1462.                                         <a class=\"botonmapaPunto noti btn-minier\" title=\"Definir Ubicación en Mapa\" itemid=\"form_{{ routeClassName }}_{{ key }}\" geom=\"punto\" href=\"#\">
  1463.                                             <i class=\"ace-icon fa fa-globe bigger-220 blue\"></i>
  1464.                                         </a>
  1465.                                         <span id=\"textoGeometriaPunto\"></span>
  1466.                                         {{ form_widget(widget) }}
  1467.                                     {% else %}
  1468.                                         {% if widget.vars.attr.class is defined and isSubString(widget.vars.attr.class,'geometria_poligono') %}
  1469.                                             <a class=\"botonmapa noti btn-minier\" title=\"Definir Ubicación en Mapa\" itemid=\"form_{{ routeClassName }}_{{ key }}\" geom=\"poligono\" href=\"#\">
  1470.                                                 <i class=\"fas fa-globe bigger-220 blue\"></i>
  1471.                                             </a>
  1472.                                             <span id=\"textoGeometriaPoligono\"></span>
  1473.                                             {{ form_widget(widget) }}
  1474.                                         {% else %}
  1475.                                             {% if widget.vars.attr.class is defined and isSubString(widget.vars.attr.class,'ace-switch') %}
  1476.                                                 <div style=\"text-align: center\">
  1477.                                                     <label class=\"block\" style='margin-bottom: 0! important'>
  1478.                                                         {{ form_widget(widget) }}
  1479.                                                         <span class=\"lbl\" data-lbl=\"{{ 'choice_value.yes' | trans({}, 'crud') | upper}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{ 'choice_value.no'  | trans({}, 'crud') | upper}}\"></span>
  1480.                                                     </label>
  1481.                                                 </div>
  1482.                                             {% else %}
  1483.                                                 {% if widget.vars.attr.readonly is defined %}
  1484.                                                     <span id=\"span_{{ routeClassName }}_{{ key }}\">{{ entity.getFieldValue(widget.vars.name, true) }}</span>
  1485.                                                 {% else %}
  1486.                                                     {{ form_widget(widget) }}
  1487.                                                 {% endif %}
  1488.                                             {% endif %}
  1489.                                         {% endif %}
  1490.                                     {% endif %}
  1491.                                 {% endif %}
  1492.                             </td>
  1493.                         </tr>
  1494.                     </table>
  1495.                 </div>
  1496.                                 {% endblock draw_widget %}
  1497.                 {% set col = col + 1 %}
  1498.                 {% if col == maxcol %}
  1499.                     {% block rowclose %}
  1500.                         </div>
  1501.                     {% endblock rowclose %}
  1502.                     {% set rowopen=false %}
  1503.                     {% set col=0 %}
  1504.                 {% endif %}
  1505.             {%endif%}
  1506.         {% endfor %}
  1507.         {% if rowopen %}
  1508.             </div>
  1509.         {% endif %}
  1510.         {% block form_post_rows %}
  1511.         {% endblock form_post_rows %}
  1512.         <div class=\"row hide\">
  1513.             <table>{{ form_rest(form) }}</table>
  1514.         </div>
  1515.     {% endblock %}
  1516.     {% block post_form %}
  1517.         <input type=\"hidden\" id=\"relaciontarget-{{ routeClassName }}\">
  1518.         <input type=\"hidden\" id=\"relacionnombre-{{ routeClassName }}\">
  1519.         <div id=\"dialog-mapa-{{ routeClassName }}\" title=\"Definir Ubicación en Mapa\"></div>
  1520.         <div id=\"dialog-relacion-{{ routeClassName }}\" title=\"Definir elemento\"></div>
  1521.     {% endblock %}
  1522.     {% block botones_form %}
  1523.         <div class=\"row\">
  1524.             <div class=\"col-xs-12\">
  1525.                 <div class=\"hr hr-8 hr-dotted\"></div>
  1526.             </div>
  1527.         </div>
  1528.     {% endblock %}
  1529.     {% block end_form %}
  1530.         {{ form_end(form) }}
  1531.     {% endblock %}
  1532. {% endblock formulario_content %}
  1533. ""@crud\\crud\\formulario.html.twig""/data/produccion/integral/src/Crud/templates/crud/formulario.html.twig");
  1534.     }
  1535. }