<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* user/edit.html.twig */
class __TwigTemplate_842b2778cdf9e6953053c1bdad39de17 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "layout/backEndLayout.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$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", "user/edit.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "user/edit.html.twig"));
// line 3
$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.', 3, $this->source); })()), ["bootstrap_4_layout.html.twig"], true);
// line 1
$this->parent = $this->loadTemplate("layout/backEndLayout.html.twig", "user/edit.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 6
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$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 7
yield "
<div class=\"row mt-4\">
<div class=\"col-2 \" >
<div class=\"btn-group record_actions m-2\">
<a class=\"btn btn-info\" href=\"";
// line 11
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_users");
yield "\">
<i class=\"fa fa-list\"></i> ";
// line 12
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Back to the list", [], "admin"), "html", null, true);
yield "
</a>
</div>
</div>
<div class=\"col-10 jumbotron mx-auto\">
<div class=\"col-md-6 mx-auto\">
<article class=\"text-center\">
<div class=\"card-header\">
<h4 class=\"my-0 font-weight-normal text-center text-justify text-uppercase\"> Modification des donnees d'enseignant </h4>
</div>
";
// line 22
yield Twig\Extension\CoreExtension::include($this->env, $context, "layout/partials/_form.html.twig", ["submitButtonText" => "Update teacher", "returnRoute" => "admin_users"]);
yield "
</article>
</div>
</div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "user/edit.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 102 => 22, 89 => 12, 85 => 11, 79 => 7, 66 => 6, 55 => 1, 53 => 3, 40 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \"layout/backEndLayout.html.twig\" %}
{% form_theme form 'bootstrap_4_layout.html.twig' %}
{% block content %}
<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_users') }}\">
<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\">
<div class=\"card-header\">
<h4 class=\"my-0 font-weight-normal text-center text-justify text-uppercase\"> Modification des donnees d'enseignant </h4>
</div>
{{include('layout/partials/_form.html.twig',{'submitButtonText':'Update teacher', 'returnRoute':'admin_users'})}}
</article>
</div>
</div>
</div>
</div>
{% endblock %}
", "user/edit.html.twig", "/var/www/prod/current/templates/user/edit.html.twig");
}
}