var/cache/dev/twig/a1/a170ecc8e22144ca9ebc252ccb06171e18e9b98d08ea2fcb2553190c9b0c0c0e.php line 42

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. /* vehicule/new.html.twig */
  15. class __TwigTemplate_808b70cdd4bcbce114be8df4fb8e7c6a66331b4568216760792cb0ec0e6da51f 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.             'navigation' => [$this'block_navigation'],
  26.             'content' => [$this'block_content'],
  27.             'script' => [$this'block_script'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "Global/layout.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""vehicule/new.html.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""vehicule/new.html.twig"));
  42.         // line 4
  43.         $context["pageTitle"] = "New Vehicule";
  44.         // line 1
  45.         $this->parent $this->loadTemplate("Global/layout.html.twig""vehicule/new.html.twig"1);
  46.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 3
  53.     public function block_title($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  60.         yield "New Adherent";
  61.         
  62.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  63.         
  64.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  65.         return; yield '';
  66.     }
  67.     // line 5
  68.     public function block_navigation($context, array $blocks = [])
  69.     {
  70.         $macros $this->macros;
  71.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navigation"));
  73.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navigation"));
  75.         // line 6
  76.         yield "    ";
  77.         $context["navigation"] = [["current" => (isset($context["pageTitle"]) || array_key_exists("pageTitle"$context) ? $context["pageTitle"] : (function () { throw new RuntimeError('Variable "pageTitle" does not exist.'6$this->source); })())]];
  78.         // line 7
  79.         yield "    ";
  80.         yield from         $this->loadTemplate("Global/navigation.html.twig""vehicule/new.html.twig"7)->unwrap()->yield(CoreExtension::merge($context, ["navigation" => (isset($context["navigation"]) || array_key_exists("navigation"$context) ? $context["navigation"] : (function () { throw new RuntimeError('Variable "navigation" does not exist.'7$this->source); })())]));
  81.         
  82.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  83.         
  84.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  85.         return; yield '';
  86.     }
  87.     // line 9
  88.     public function block_content($context, array $blocks = [])
  89.     {
  90.         $macros $this->macros;
  91.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  92.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  93.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  94.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  95.         // line 10
  96.         yield "
  97.     <section class=\"card mb-3\">
  98.         <header class=\"card-header\">
  99.             <div class=\"card-actions\">
  100.                 <a href=\"#\" class=\"card-action card-action-toggle\" data-card-toggle=\"\"></a>
  101.                 <a href=\"#\" class=\"card-action card-action-dismiss\" data-card-dismiss=\"\"></a>
  102.             </div>
  103.             <h2 class=\"card-title\">Ajouter un Vehicule</h2>
  104.         </header>
  105.         <div class=\"card-body\">
  106.             ";
  107.         // line 20
  108.         yield Twig\Extension\CoreExtension::include($this->env$context"vehicule/_form.html.twig");
  109.         yield "
  110.         </div>
  111.     </section>
  112. ";
  113.         
  114.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  115.         
  116.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  117.         return; yield '';
  118.     }
  119.     // line 24
  120.     public function block_script($context, array $blocks = [])
  121.     {
  122.         $macros $this->macros;
  123.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  124.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""script"));
  125.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  126.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""script"));
  127.         // line 25
  128.         yield "    <script>
  129.         \$(document).ready(function () {
  130.             // you may need to change this code if you are not using Bootstrap Datepicker
  131.             \$('.datepicker').datepicker({ 
  132.                 format: 'm',
  133.                 dateFormat: 'MM'
  134.                 ,language: \"FR\"
  135.                 ,viewMode:'months',
  136.                 minViewMode: 'months' });
  137.         });
  138.     </script>
  139. ";
  140.         
  141.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  142.         
  143.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  144.         return; yield '';
  145.     }
  146.     /**
  147.      * @codeCoverageIgnore
  148.      */
  149.     public function getTemplateName()
  150.     {
  151.         return "vehicule/new.html.twig";
  152.     }
  153.     /**
  154.      * @codeCoverageIgnore
  155.      */
  156.     public function isTraitable()
  157.     {
  158.         return false;
  159.     }
  160.     /**
  161.      * @codeCoverageIgnore
  162.      */
  163.     public function getDebugInfo()
  164.     {
  165.         return array (  157 => 25,  147 => 24,  132 => 20,  120 => 10,  110 => 9,  98 => 7,  95 => 6,  85 => 5,  65 => 3,  54 => 1,  52 => 4,  39 => 1,);
  166.     }
  167.     public function getSourceContext()
  168.     {
  169.         return new Source("{% extends \"Global/layout.html.twig\" %}
  170. {% block title %}New Adherent{% endblock %}
  171. {% set pageTitle = 'New Vehicule' %}
  172. {% block navigation %}
  173.     {% set navigation = [{'current': pageTitle}] %}
  174.     {% include 'Global/navigation.html.twig' with {navigation: navigation} %}
  175. {% endblock %}
  176. {% block content %}
  177.     <section class=\"card mb-3\">
  178.         <header class=\"card-header\">
  179.             <div class=\"card-actions\">
  180.                 <a href=\"#\" class=\"card-action card-action-toggle\" data-card-toggle=\"\"></a>
  181.                 <a href=\"#\" class=\"card-action card-action-dismiss\" data-card-dismiss=\"\"></a>
  182.             </div>
  183.             <h2 class=\"card-title\">Ajouter un Vehicule</h2>
  184.         </header>
  185.         <div class=\"card-body\">
  186.             {{ include('vehicule/_form.html.twig') }}
  187.         </div>
  188.     </section>
  189. {% endblock %}
  190. {% block script %}
  191.     <script>
  192.         \$(document).ready(function () {
  193.             // you may need to change this code if you are not using Bootstrap Datepicker
  194.             \$('.datepicker').datepicker({ 
  195.                 format: 'm',
  196.                 dateFormat: 'MM'
  197.                 ,language: \"FR\"
  198.                 ,viewMode:'months',
  199.                 minViewMode: 'months' });
  200.         });
  201.     </script>
  202. {% endblock %}
  203. ""vehicule/new.html.twig""/home/amicala/www/Amicale/templates/vehicule/new.html.twig");
  204.     }
  205. }