var/cache/dev/twig/1e/1ea66de574717e3dff7a17f02cab6791.php line 155

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\show.html.twig */
  14. class __TwigTemplate_7069ea4f467c76a923f13ad8edff9e57 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->blocks = [
  23.             'jquery' => [$this'block_jquery'],
  24.             'crud' => [$this'block_crud'],
  25.             'show' => [$this'block_show'],
  26.             'showdata' => [$this'block_showdata'],
  27.             'actions' => [$this'block_actions'],
  28.             'action_retorno' => [$this'block_action_retorno'],
  29.             'action_delete' => [$this'block_action_delete'],
  30.             'show_details' => [$this'block_show_details'],
  31.         ];
  32.     }
  33.     protected function doGetParent(array $context)
  34.     {
  35.         // line 1
  36.         return "@crud\\crud.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@crud\\crud\\show.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@crud\\crud\\show.html.twig"));
  45.         $this->parent $this->loadTemplate("@crud\\crud.html.twig""@crud\\crud\\show.html.twig"1);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 3
  53.     public function block_jquery($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""jquery"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""jquery"));
  60.         // line 4
  61.         echo "    ";
  62.         $this->displayParentBlock("jquery"$context$blocks);
  63.         echo "
  64.     <script type=\"text/javascript\">
  65.         \$(function()
  66.         {
  67.             \$(\"#ul_breadcrumb\").append('<li class=\"active\"><a>";
  68.         // line 9
  69.         echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("subtitles.show", [], "crud")), "html"nulltrue);
  70.         echo "</a></li>');      
  71.             \$(\".show_del_item\").click(function(e){
  72.                 if (!confirm(\"Está seguro de querer eliminar el elemento seleccionado?\"))
  73.                 {
  74.                     e.preventDefault();
  75.                 }
  76.             });
  77.             \$('.ace-switch').click(function(e){
  78.                 e.preventDefault();
  79.             });
  80.         });
  81. \t\t
  82.     </script>    
  83. ";
  84.         
  85.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  86.         
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  88.     }
  89.     // line 27
  90.     public function block_crud($context, array $blocks = [])
  91.     {
  92.         $macros $this->macros;
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  94.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""crud"));
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  96.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""crud"));
  97.         // line 28
  98.         echo "
  99.     ";
  100.         // line 29
  101.         $this->displayBlock('show'$context$blocks);
  102.         // line 109
  103.         echo "   
  104. ";
  105.         
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  107.         
  108.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  109.     }
  110.     // line 29
  111.     public function block_show($context, array $blocks = [])
  112.     {
  113.         $macros $this->macros;
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""show"));
  116.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  117.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""show"));
  118.         // line 30
  119.         echo "
  120.         <div class=\"widget-box transparent\">
  121.             ";
  122.         // line 47
  123.         echo "            <div class=\"widget-body\" style=\"display: block;\">
  124.                 <div class=\"widget-main no-padding\">
  125.                     ";
  126.         // line 49
  127.         $this->displayBlock('showdata'$context$blocks);
  128.         // line 51
  129.         echo 
  130.                     <div class=\"row\">
  131.                         <div class=\"col-xs-12\">
  132.                             <div class=\"hr hr-8 hr-dotted\"></div>
  133.                         </div>
  134.                     </div>
  135.                     ";
  136.         // line 57
  137.         $this->displayBlock('actions'$context$blocks);
  138.         // line 96
  139.         echo "
  140.                     ";
  141.         // line 97
  142.         $this->displayBlock('show_details'$context$blocks);
  143.         // line 104
  144.         echo "                    
  145.                 </div>                   
  146.             </div>                   
  147.         </div>
  148.     ";
  149.         
  150.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  151.         
  152.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  153.     }
  154.     // line 49
  155.     public function block_showdata($context, array $blocks = [])
  156.     {
  157.         $macros $this->macros;
  158.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  159.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showdata"));
  160.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  161.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showdata"));
  162.         // line 50
  163.         echo "                        ";
  164.         $this->loadTemplate("@crud\\crud\\show_data.html.twig""@crud\\crud\\show.html.twig"50)->display($context);
  165.         // line 51
  166.         echo "                    ";
  167.         
  168.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  169.         
  170.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  171.     }
  172.     // line 57
  173.     public function block_actions($context, array $blocks = [])
  174.     {
  175.         $macros $this->macros;
  176.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  177.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""actions"));
  178.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  179.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""actions"));
  180.         // line 58
  181.         echo "                        <div id=\"botones\" class=\"row\">
  182.                             ";
  183.         // line 59
  184.         if (((isset($context["editInIndex"]) || array_key_exists("editInIndex"$context) ? $context["editInIndex"] : (function () { throw new RuntimeError('Variable "editInIndex" does not exist.'59$this->source); })()) && (isset($context["deleteInIndex"]) || array_key_exists("deleteInIndex"$context) ? $context["deleteInIndex"] : (function () { throw new RuntimeError('Variable "deleteInIndex" does not exist.'59$this->source); })()))) {
  185.             // line 60
  186.             echo "                                ";
  187.             $context["clase"] = "col-xs-4";
  188.             // line 61
  189.             echo "                            ";
  190.         } else {
  191.             // line 62
  192.             echo "                                ";
  193.             if (((isset($context["editInIndex"]) || array_key_exists("editInIndex"$context) ? $context["editInIndex"] : (function () { throw new RuntimeError('Variable "editInIndex" does not exist.'62$this->source); })()) || (isset($context["deleteInIndex"]) || array_key_exists("deleteInIndex"$context) ? $context["deleteInIndex"] : (function () { throw new RuntimeError('Variable "deleteInIndex" does not exist.'62$this->source); })()))) {
  194.                 // line 63
  195.                 echo "                                    ";
  196.                 $context["clase"] = "col-xs-6";
  197.                 // line 64
  198.                 echo "                                ";
  199.             } else {
  200.                 // line 65
  201.                 echo "                                    ";
  202.                 $context["clase"] = "col-xs-12";
  203.                 // line 66
  204.                 echo "                                ";
  205.             }
  206.             // line 67
  207.             echo "                            ";
  208.         }
  209.         // line 68
  210.         echo "                            <div class=\"";
  211.         echo twig_escape_filter($this->env, (isset($context["clase"]) || array_key_exists("clase"$context) ? $context["clase"] : (function () { throw new RuntimeError('Variable "clase" does not exist.'68$this->source); })()), "html"nulltrue);
  212.         echo "\">
  213.                                 <center>
  214.                                     ";
  215.         // line 70
  216.         $this->displayBlock('action_retorno'$context$blocks);
  217.         // line 75
  218.         echo 
  219.                                 </center>
  220.                             </div>    
  221.                             ";
  222.         // line 78
  223.         if ((isset($context["editInIndex"]) || array_key_exists("editInIndex"$context) ? $context["editInIndex"] : (function () { throw new RuntimeError('Variable "editInIndex" does not exist.'78$this->source); })())) {
  224.             // line 79
  225.             echo "                                <div class=\"";
  226.             echo twig_escape_filter($this->env, (isset($context["clase"]) || array_key_exists("clase"$context) ? $context["clase"] : (function () { throw new RuntimeError('Variable "clase" does not exist.'79$this->source); })()), "html"nulltrue);
  227.             echo " forChanges\">
  228.                                     <center>
  229.                                         <a id=\"btnShowUpdate\" class=\"btn btn-white btn-inverse btn-bold btn-round\" href=\"";
  230.             // line 81
  231.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("crud_plain_edit", ["rol" => (isset($context["rol"]) || array_key_exists("rol"$context) ? $context["rol"] : (function () { throw new RuntimeError('Variable "rol" does not exist.'81$this->source); })()), "id" => 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.'81$this->source); })()), "id", [], "any"falsefalsefalse81), "routeClassName" => (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'81$this->source); })())]), "html"nulltrue);
  232.             echo "\">";
  233.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("botones.modificar", [], "crud");
  234.             echo "</a>
  235.                                     </center>
  236.                                 </div>    
  237.                             ";
  238.         }
  239.         // line 85
  240.         echo "                            ";
  241.         if ((isset($context["deleteInIndex"]) || array_key_exists("deleteInIndex"$context) ? $context["deleteInIndex"] : (function () { throw new RuntimeError('Variable "deleteInIndex" does not exist.'85$this->source); })())) {
  242.             // line 86
  243.             echo "                                <div class=\"";
  244.             echo twig_escape_filter($this->env, (isset($context["clase"]) || array_key_exists("clase"$context) ? $context["clase"] : (function () { throw new RuntimeError('Variable "clase" does not exist.'86$this->source); })()), "html"nulltrue);
  245.             echo " forChanges\">
  246.                                     <center>
  247.                                         ";
  248.             // line 88
  249.             $this->displayBlock('action_delete'$context$blocks);
  250.             // line 91
  251.             echo "                                    </center>
  252.                                 </div>
  253.                             ";
  254.         }
  255.         // line 94
  256.         echo "                        </div>
  257.                     ";
  258.         
  259.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  260.         
  261.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  262.     }
  263.     // line 70
  264.     public function block_action_retorno($context, array $blocks = [])
  265.     {
  266.         $macros $this->macros;
  267.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  268.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""action_retorno"));
  269.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  270.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""action_retorno"));
  271.         // line 71
  272.         echo "                                        ";
  273.         // line 72
  274.         echo "                                        <a class=\"btn btn-white btn-inverse btn-bold btn-round\" href=\"";
  275.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("crud_plain_back_to_list", ["rol" => (isset($context["rol"]) || array_key_exists("rol"$context) ? $context["rol"] : (function () { throw new RuntimeError('Variable "rol" does not exist.'72$this->source); })()), "routeClassName" => (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'72$this->source); })()), "id" => 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.'72$this->source); })()), "id", [], "any"falsefalsefalse72), "from" => "show"]), "html"nulltrue);
  276.         echo "\">
  277.                                             ";
  278.         // line 73
  279.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("botones.regresar", [], "crud");
  280.         // line 74
  281.         echo "                                        </a>
  282.                                     ";
  283.         
  284.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  285.         
  286.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  287.     }
  288.     // line 88
  289.     public function block_action_delete($context, array $blocks = [])
  290.     {
  291.         $macros $this->macros;
  292.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  293.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""action_delete"));
  294.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  295.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""action_delete"));
  296.         // line 89
  297.         echo "                                            <a id=\"btn_delete_";
  298.         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);
  299.         echo "\" class=\"btn btn-white btn-inverse btn-bold btn-round show_del_item\" href=\"";
  300.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("crud_plain_delete", ["rol" => (isset($context["rol"]) || array_key_exists("rol"$context) ? $context["rol"] : (function () { throw new RuntimeError('Variable "rol" does not exist.'89$this->source); })()), "id" => 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.'89$this->source); })()), "id", [], "any"falsefalsefalse89), "routeClassName" => (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'89$this->source); })())]), "html"nulltrue);
  301.         echo "\">";
  302.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("botones.eliminar", [], "crud");
  303.         echo "</a>
  304.                                         ";
  305.         
  306.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  307.         
  308.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  309.     }
  310.     // line 97
  311.     public function block_show_details($context, array $blocks = [])
  312.     {
  313.         $macros $this->macros;
  314.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  315.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""show_details"));
  316.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  317.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""show_details"));
  318.         // line 98
  319.         echo "                    <div class=\"row\">
  320.                         <div class=\"col-xs-12\">
  321.                             <div class=\"hr hr-8 hr-dotted\"></div>
  322.                         </div>
  323.                     </div>
  324.                     ";
  325.         
  326.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  327.         
  328.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  329.     }
  330.     public function getTemplateName()
  331.     {
  332.         return "@crud\\crud\\show.html.twig";
  333.     }
  334.     public function isTraitable()
  335.     {
  336.         return false;
  337.     }
  338.     public function getDebugInfo()
  339.     {
  340.         return array (  372 => 98,  362 => 97,  345 => 89,  335 => 88,  324 => 74,  322 => 73,  317 => 72,  315 => 71,  305 => 70,  294 => 94,  289 => 91,  287 => 88,  281 => 86,  278 => 85,  269 => 81,  263 => 79,  261 => 78,  256 => 75,  254 => 70,  248 => 68,  245 => 67,  242 => 66,  239 => 65,  236 => 64,  233 => 63,  230 => 62,  227 => 61,  224 => 60,  222 => 59,  219 => 58,  209 => 57,  199 => 51,  196 => 50,  186 => 49,  172 => 104,  170 => 97,  167 => 96,  165 => 57,  157 => 51,  155 => 49,  151 => 47,  147 => 30,  137 => 29,  126 => 109,  124 => 29,  121 => 28,  111 => 27,  84 => 9,  75 => 4,  65 => 3,  42 => 1,);
  341.     }
  342.     public function getSourceContext()
  343.     {
  344.         return new Source("{% extends \"@crud\\\\crud.html.twig\" %}
  345. {% block jquery %}
  346.     {{ parent() }}
  347.     <script type=\"text/javascript\">
  348.         \$(function()
  349.         {
  350.             \$(\"#ul_breadcrumb\").append('<li class=\"active\"><a>{{ 'subtitles.show' | trans({}, 'crud') | capitalize }}</a></li>');      
  351.             \$(\".show_del_item\").click(function(e){
  352.                 if (!confirm(\"Está seguro de querer eliminar el elemento seleccionado?\"))
  353.                 {
  354.                     e.preventDefault();
  355.                 }
  356.             });
  357.             \$('.ace-switch').click(function(e){
  358.                 e.preventDefault();
  359.             });
  360.         });
  361. \t\t
  362.     </script>    
  363. {% endblock %}
  364. {% block crud %}
  365.     {% block show %}
  366.         <div class=\"widget-box transparent\">
  367.             {#% block principal_heading %}
  368.                 <div class=\"widget-header widget-header-flat\">
  369.                     <h4 class=\"widget-title lighter\">
  370.                         <i class=\"fas fa-search orange\"></i>
  371.                         {% set texto = routeClassName~'.plural' %}     
  372.                         {{ texto | trans({}, 'crud') }}
  373.                     </h4>
  374.                 <!--div class=\"widget-toolbar\">
  375.                     <a href=\"#\" data-action=\"collapse\">
  376.                         <i class=\"fas fa-chevron-up\"></i>
  377.                     </a>
  378.                 </div-->
  379.                 </div>
  380.             {% endblock %#}
  381.             <div class=\"widget-body\" style=\"display: block;\">
  382.                 <div class=\"widget-main no-padding\">
  383.                     {% block showdata %}
  384.                         {% include '@crud\\\\crud\\\\show_data.html.twig' %}
  385.                     {% endblock %} 
  386.                     <div class=\"row\">
  387.                         <div class=\"col-xs-12\">
  388.                             <div class=\"hr hr-8 hr-dotted\"></div>
  389.                         </div>
  390.                     </div>
  391.                     {% block actions %}
  392.                         <div id=\"botones\" class=\"row\">
  393.                             {% if editInIndex and deleteInIndex%}
  394.                                 {% set clase = 'col-xs-4' %}
  395.                             {% else %}
  396.                                 {% if editInIndex or deleteInIndex %}
  397.                                     {% set clase = 'col-xs-6' %}
  398.                                 {% else %}
  399.                                     {% set clase = 'col-xs-12' %}
  400.                                 {% endif %}
  401.                             {% endif %}
  402.                             <div class=\"{{ clase }}\">
  403.                                 <center>
  404.                                     {% block action_retorno %}
  405.                                         {#<a class=\"btn btn-white btn-inverse btn-bold btn-round\" href=\"{{ path('crud_index', {'routeClassName': routeClassName}) }}\">#}
  406.                                         <a class=\"btn btn-white btn-inverse btn-bold btn-round\" href=\"{{ path('crud_plain_back_to_list', {'rol': rol, 'routeClassName': routeClassName, 'id': entity.id, 'from': 'show'}) }}\">
  407.                                             {% trans from 'crud' %}botones.regresar{% endtrans %}
  408.                                         </a>
  409.                                     {% endblock %} 
  410.                                 </center>
  411.                             </div>    
  412.                             {% if editInIndex %}
  413.                                 <div class=\"{{ clase }} forChanges\">
  414.                                     <center>
  415.                                         <a id=\"btnShowUpdate\" class=\"btn btn-white btn-inverse btn-bold btn-round\" href=\"{{ path('crud_plain_edit', {'rol': rol, 'id':entity.id, 'routeClassName': routeClassName}) }}\">{% trans from 'crud' %}botones.modificar{% endtrans %}</a>
  416.                                     </center>
  417.                                 </div>    
  418.                             {% endif %}
  419.                             {% if deleteInIndex %}
  420.                                 <div class=\"{{ clase }} forChanges\">
  421.                                     <center>
  422.                                         {% block action_delete %}
  423.                                             <a id=\"btn_delete_{{ routeClassName }}\" class=\"btn btn-white btn-inverse btn-bold btn-round show_del_item\" href=\"{{ path('crud_plain_delete', { 'rol': rol, 'id' : entity.id, 'routeClassName': routeClassName }) }}\">{% trans from 'crud' %}botones.eliminar{% endtrans %}</a>
  424.                                         {% endblock %}
  425.                                     </center>
  426.                                 </div>
  427.                             {% endif %}
  428.                         </div>
  429.                     {% endblock %}
  430.                     {% block show_details %}
  431.                     <div class=\"row\">
  432.                         <div class=\"col-xs-12\">
  433.                             <div class=\"hr hr-8 hr-dotted\"></div>
  434.                         </div>
  435.                     </div>
  436.                     {% endblock %}
  437.                     
  438.                 </div>                   
  439.             </div>                   
  440.         </div>
  441.     {% endblock %}
  442.    
  443. {% endblock %}
  444.   
  445. ""@crud\\crud\\show.html.twig""/data/produccion/integral/src/Crud/templates/crud/show.html.twig");
  446.     }
  447. }