<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* student/new.html.twig */
class __TwigTemplate_75ec4cbc15a85242e5a8efad4bcec19b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "layout/backEndLayout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "student/new.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "student/new.html.twig"));
$this->parent = $this->loadTemplate("layout/backEndLayout.html.twig", "student/new.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 7
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 8
echo " ";
$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);
// line 9
echo "
<div class=\"row mt-4\">
<div class=\"col-2 \" >
<div class=\"btn-group record_actions m-2\">
<a class=\"btn btn-info\" href=\"";
// line 13
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_students", ["type" => "new_students_not_yet_registered_checkbox"]);
echo "\">
<i class=\"fa fa-list\"></i> ";
// line 14
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Back to the list", [], "admin"), "html", null, true);
echo "
</a>
</div>
</div>
<div class=\"col-10 jumbotron mx-auto\">
<div class=\"col-md-6 mx-auto\">
<article class=\"text-center\">
<br/>
<div class=\"card-header\">
<h4 class=\"my-0 font-weight-normal text-center text-justify text-uppercase\"> Nouvel eleve</h4>
</div>
";
// line 25
echo twig_include($this->env, $context, "layout/partials/_form.html.twig", ["submitButtonText" => "Create student", "returnRoute" => "admin_students"]);
echo "
</article>
</div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "student/new.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 95 => 25, 81 => 14, 77 => 13, 71 => 9, 68 => 8, 58 => 7, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'layout/backEndLayout.html.twig' %}
{% block content %}
{% form_theme form 'bootstrap_4_layout.html.twig' %}
<div class=\"row mt-4\">
<div class=\"col-2 \" >
<div class=\"btn-group record_actions m-2\">
<a class=\"btn btn-info\" href=\"{{ path('admin_students', { 'type': \"new_students_not_yet_registered_checkbox\" }) }}\">
<i class=\"fa fa-list\"></i> {{ 'Back to the list'|trans({}, 'admin') }}
</a>
</div>
</div>
<div class=\"col-10 jumbotron mx-auto\">
<div class=\"col-md-6 mx-auto\">
<article class=\"text-center\">
<br/>
<div class=\"card-header\">
<h4 class=\"my-0 font-weight-normal text-center text-justify text-uppercase\"> Nouvel eleve</h4>
</div>
{{include('layout/partials/_form.html.twig',{'submitButtonText':'Create student', 'returnRoute':'admin_students'})}}
</article>
</div>
</div>
</div>
{% endblock %}
", "student/new.html.twig", "/var/www/prod/current/templates/student/new.html.twig");
}
}