var/cache/dev/twig/0b/0b205d8efb0d54ff15c28e2cfc58c7d0.php line 38

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. /* student/new.html.twig */
  14. class __TwigTemplate_75ec4cbc15a85242e5a8efad4bcec19b 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.             'content' => [$this'block_content'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "layout/backEndLayout.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""student/new.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""student/new.html.twig"));
  38.         $this->parent $this->loadTemplate("layout/backEndLayout.html.twig""student/new.html.twig"1);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  42.         
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  44.     }
  45.     // line 7
  46.     public function block_content($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         // line 8
  54.         echo "        ";
  55.         $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'8$this->source); })()), ["bootstrap_4_layout.html.twig"], true);
  56.         // line 9
  57.         echo "       
  58.           <div class=\"row mt-4\">
  59.                     <div class=\"col-2 \" >
  60.                         <div class=\"btn-group record_actions  m-2\">
  61.                             <a class=\"btn btn-info\" href=\"";
  62.         // line 13
  63.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_students", ["type" => "new_students_not_yet_registered_checkbox"]);
  64.         echo "\">
  65.                                 <i class=\"fa fa-list\"></i> ";
  66.         // line 14
  67.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Back to the list", [], "admin"), "html"nulltrue);
  68.         echo "
  69.                             </a>
  70.                         </div>
  71.                     </div>
  72.                     <div class=\"col-10 jumbotron  mx-auto\">
  73.                         <div class=\"col-md-6 mx-auto\">
  74.                             <article class=\"text-center\">
  75.                                 <br/>
  76.                                  <div class=\"card-header\">
  77.                                         <h4 class=\"my-0 font-weight-normal text-center text-justify text-uppercase\">  Nouvel eleve</h4>
  78.                                   </div>
  79.                                 ";
  80.         // line 25
  81.         echo twig_include($this->env$context"layout/partials/_form.html.twig", ["submitButtonText" => "Create student""returnRoute" => "admin_students"]);
  82.         echo "
  83.                             </article>
  84.                         </div>
  85.                     </div>
  86.             </div>
  87.    
  88.     
  89. ";
  90.         
  91.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  92.         
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  94.     }
  95.     /**
  96.      * @codeCoverageIgnore
  97.      */
  98.     public function getTemplateName()
  99.     {
  100.         return "student/new.html.twig";
  101.     }
  102.     /**
  103.      * @codeCoverageIgnore
  104.      */
  105.     public function isTraitable()
  106.     {
  107.         return false;
  108.     }
  109.     /**
  110.      * @codeCoverageIgnore
  111.      */
  112.     public function getDebugInfo()
  113.     {
  114.         return array (  95 => 25,  81 => 14,  77 => 13,  71 => 9,  68 => 8,  58 => 7,  35 => 1,);
  115.     }
  116.     public function getSourceContext()
  117.     {
  118.         return new Source("{% extends 'layout/backEndLayout.html.twig' %}
  119. {% block content %}
  120.         {% form_theme form 'bootstrap_4_layout.html.twig' %}
  121.        
  122.           <div class=\"row mt-4\">
  123.                     <div class=\"col-2 \" >
  124.                         <div class=\"btn-group record_actions  m-2\">
  125.                             <a class=\"btn btn-info\" href=\"{{ path('admin_students', { 'type': \"new_students_not_yet_registered_checkbox\" }) }}\">
  126.                                 <i class=\"fa fa-list\"></i> {{ 'Back to the list'|trans({}, 'admin') }}
  127.                             </a>
  128.                         </div>
  129.                     </div>
  130.                     <div class=\"col-10 jumbotron  mx-auto\">
  131.                         <div class=\"col-md-6 mx-auto\">
  132.                             <article class=\"text-center\">
  133.                                 <br/>
  134.                                  <div class=\"card-header\">
  135.                                         <h4 class=\"my-0 font-weight-normal text-center text-justify text-uppercase\">  Nouvel eleve</h4>
  136.                                   </div>
  137.                                 {{include('layout/partials/_form.html.twig',{'submitButtonText':'Create student', 'returnRoute':'admin_students'})}}
  138.                             </article>
  139.                         </div>
  140.                     </div>
  141.             </div>
  142.    
  143.     
  144. {% endblock %}
  145. ""student/new.html.twig""/var/www/prod/current/templates/student/new.html.twig");
  146.     }
  147. }