var/cache/dev/twig/dd/dd758c260fedb51bad1cb3149140e15e682b17c9dbb458061e83a5b5b94ce11f.php line 40

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* mobilier_sous_categorie/edit.html.twig */
  15. class __TwigTemplate_b7d84e9aab36a37d2df87fb2e57808e4f85d9fc7943c51f595f3096fb2f20225 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'body' => [$this'block_body'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "base_mobilier.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""mobilier_sous_categorie/edit.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""mobilier_sous_categorie/edit.html.twig"));
  40.         $this->parent $this->loadTemplate("base_mobilier.html.twig""mobilier_sous_categorie/edit.html.twig"1);
  41.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_title($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  55.         yield "Edit MobilierSousCategorie";
  56.         
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  58.         
  59.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  60.         return; yield '';
  61.     }
  62.     // line 5
  63.     public function block_body($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  70.         // line 6
  71.         yield "
  72.      <p>&nbsp;</p>
  73.      <h2>";
  74.         // line 8
  75.         yield Twig\Extension\EscaperExtension::escape($this->env, (isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'8$this->source); })()), "html"nulltrue);
  76.         yield "</h2>
  77.   ";
  78.         // line 10
  79.         yield Twig\Extension\CoreExtension::include($this->env$context"mobilier_sous_categorie/_form.html.twig", ["button_label" => "Update"]);
  80.         yield "
  81.     <p>&nbsp;</p>
  82.     <a href=\"";
  83.         // line 12
  84.         yield Twig\Extension\EscaperExtension::escape($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_mobilier_sous_categorie_index", ["id" => (isset($context["categorie_id"]) || array_key_exists("categorie_id"$context) ? $context["categorie_id"] : (function () { throw new RuntimeError('Variable "categorie_id" does not exist.'12$this->source); })())]), "html"nulltrue);
  85.         yield "\">Retour à la liste</a>
  86.     <p>&nbsp;</p>
  87. ";
  88.         
  89.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  90.         
  91.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  92.         return; yield '';
  93.     }
  94.     /**
  95.      * @codeCoverageIgnore
  96.      */
  97.     public function getTemplateName()
  98.     {
  99.         return "mobilier_sous_categorie/edit.html.twig";
  100.     }
  101.     /**
  102.      * @codeCoverageIgnore
  103.      */
  104.     public function isTraitable()
  105.     {
  106.         return false;
  107.     }
  108.     /**
  109.      * @codeCoverageIgnore
  110.      */
  111.     public function getDebugInfo()
  112.     {
  113.         return array (  104 => 12,  99 => 10,  94 => 8,  90 => 6,  80 => 5,  60 => 3,  37 => 1,);
  114.     }
  115.     public function getSourceContext()
  116.     {
  117.         return new Source("{% extends 'base_mobilier.html.twig' %}
  118. {% block title %}Edit MobilierSousCategorie{% endblock %}
  119. {% block body %}
  120.      <p>&nbsp;</p>
  121.      <h2>{{ title }}</h2>
  122.   {{ include('mobilier_sous_categorie/_form.html.twig', {'button_label': 'Update'}) }}
  123.     <p>&nbsp;</p>
  124.     <a href=\"{{ path('app_mobilier_sous_categorie_index', {'id': categorie_id}) }}\">Retour à la liste</a>
  125.     <p>&nbsp;</p>
  126. {% endblock %}
  127. ""mobilier_sous_categorie/edit.html.twig""/home/fbb_logistique/logistique/templates/mobilier_sous_categorie/edit.html.twig");
  128.     }
  129. }