var/cache/dev/twig/6a/6afcc8e5def7e0b49f11ae462ef272e6.php line 50

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\new.html.twig */
  14. class __TwigTemplate_38cb2774632be016d9d1339be2146a57 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.             'principal_heading' => [$this'block_principal_heading'],
  25.             'formulario' => [$this'block_formulario'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "@crud\\newedit.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@crud\\crud\\new.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@crud\\crud\\new.html.twig"));
  40.         $this->parent $this->loadTemplate("@crud\\newedit.html.twig""@crud\\crud\\new.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_jquery($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""jquery"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""jquery"));
  55.         // line 4
  56.         echo "    ";
  57.         $this->displayParentBlock("jquery"$context$blocks);
  58.         echo "
  59.     <script type=\"text/javascript\">
  60.         \$(function()
  61.         {
  62.             \$(\"#ul_breadcrumb\").append('<li class=\"active\"><a>";
  63.         // line 9
  64.         echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("subtitles.new", [], "crud")), "html"nulltrue);
  65.         echo "</a></li>');
  66.         });
  67. \t\t
  68.     </script>    
  69. ";
  70.         
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  72.         
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  74.     }
  75.     // line 16
  76.     public function block_principal_heading($context, array $blocks = [])
  77.     {
  78.         $macros $this->macros;
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""principal_heading"));
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""principal_heading"));
  83.         // line 17
  84.         echo "    ";
  85.         echo twig_escape_filter($this->envtwig_upper_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("subtitles.new", [], "crud")), "html"nulltrue);
  86.         echo "
  87.     ";
  88.         // line 19
  89.         $context["texto"] = ((isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'19$this->source); })()) . ".singular");
  90.         echo "     
  91.     ";
  92.         // line 20
  93.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["texto"]) || array_key_exists("texto"$context) ? $context["texto"] : (function () { throw new RuntimeError('Variable "texto" does not exist.'20$this->source); })()), [], "crud"), "html"nulltrue);
  94.         echo "
  95. ";
  96.         
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  98.         
  99.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  100.     }
  101.     // line 23
  102.     public function block_formulario($context, array $blocks = [])
  103.     {
  104.         $macros $this->macros;
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  106.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""formulario"));
  107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""formulario"));
  109.         // line 24
  110.         echo "    ";
  111.         $this->loadTemplate("@crud\\crud\\formulario_new.html.twig""@crud\\crud\\new.html.twig"24)->display($context);
  112.         
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  114.         
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  116.     }
  117.     public function getTemplateName()
  118.     {
  119.         return "@crud\\crud\\new.html.twig";
  120.     }
  121.     public function isTraitable()
  122.     {
  123.         return false;
  124.     }
  125.     public function getDebugInfo()
  126.     {
  127.         return array (  137 => 24,  127 => 23,  115 => 20,  111 => 19,  105 => 17,  95 => 16,  79 => 9,  70 => 4,  60 => 3,  37 => 1,);
  128.     }
  129.     public function getSourceContext()
  130.     {
  131.         return new Source("{% extends \"@crud\\\\newedit.html.twig\" %}
  132. {% block jquery %}
  133.     {{ parent() }}
  134.     <script type=\"text/javascript\">
  135.         \$(function()
  136.         {
  137.             \$(\"#ul_breadcrumb\").append('<li class=\"active\"><a>{{ 'subtitles.new' | trans({}, 'crud') | capitalize }}</a></li>');
  138.         });
  139. \t\t
  140.     </script>    
  141. {% endblock %}
  142. {% block principal_heading %}
  143.     {{ 'subtitles.new' | trans({}, 'crud') | upper }}
  144.     {% set texto = routeClassName~'.singular' %}     
  145.     {{ texto | trans({}, 'crud')  }}
  146. {% endblock %}
  147. {% block formulario %}
  148.     {% include '@crud\\\\crud\\\\formulario_new.html.twig' %}
  149. {% endblock formulario %}
  150.               ""@crud\\crud\\new.html.twig""/data/produccion/integral/src/Crud/templates/crud/new.html.twig");
  151.     }
  152. }