var/cache/dev/twig/14/14569243c775ecfe3592a583f8788fd7.php line 56

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. use Twig\TemplateWrapper;
  15. /* user/edit.html.twig */
  16. class __TwigTemplate_842b2778cdf9e6953053c1bdad39de17 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'content' => [$this'block_content'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  32.     {
  33.         // line 1
  34.         return "layout/backEndLayout.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = []): iterable
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""user/edit.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""user/edit.html.twig"));
  43.         // line 3
  44.         $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);
  45.         // line 1
  46.         $this->parent $this->loadTemplate("layout/backEndLayout.html.twig""user/edit.html.twig"1);
  47.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  48.         
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  50.         
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  52.     }
  53.     // line 6
  54.     /**
  55.      * @return iterable<null|scalar|\Stringable>
  56.      */
  57.     public function block_content(array $context, array $blocks = []): iterable
  58.     {
  59.         $macros $this->macros;
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  64.         // line 7
  65.         yield "  
  66. <div class=\"row mt-4\">
  67.          <div class=\"col-2 \" >
  68.                         <div class=\"btn-group record_actions  m-2\">
  69.                             <a class=\"btn btn-info\" href=\"";
  70.         // line 11
  71.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_users");
  72.         yield "\">
  73.                                 <i class=\"fa fa-list\"></i> ";
  74.         // line 12
  75.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Back to the list", [], "admin"), "html"nulltrue);
  76.         yield "
  77.                             </a>
  78.                         </div>
  79.                     </div>
  80.                     <div class=\"col-10 jumbotron  mx-auto\">
  81.                         <div class=\"col-md-6 mx-auto\">
  82.                             <article class=\"text-center\">
  83.                                      <div class=\"card-header\">
  84.                                         <h4 class=\"my-0 font-weight-normal text-center text-justify text-uppercase\">  Modification des donnees d'enseignant  </h4>
  85.                                   </div>
  86.                                 ";
  87.         // line 22
  88.         yield Twig\Extension\CoreExtension::include($this->env$context"layout/partials/_form.html.twig", ["submitButtonText" => "Update teacher""returnRoute" => "admin_users"]);
  89.         yield "
  90.                             </article>
  91.                         </div>
  92.                     </div>
  93.          </div>
  94.  </div>
  95.         
  96.     
  97. ";
  98.         
  99.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  100.         
  101.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  102.         yield from [];
  103.     }
  104.     /**
  105.      * @codeCoverageIgnore
  106.      */
  107.     public function getTemplateName(): string
  108.     {
  109.         return "user/edit.html.twig";
  110.     }
  111.     /**
  112.      * @codeCoverageIgnore
  113.      */
  114.     public function isTraitable(): bool
  115.     {
  116.         return false;
  117.     }
  118.     /**
  119.      * @codeCoverageIgnore
  120.      */
  121.     public function getDebugInfo(): array
  122.     {
  123.         return array (  102 => 22,  89 => 12,  85 => 11,  79 => 7,  66 => 6,  55 => 1,  53 => 3,  40 => 1,);
  124.     }
  125.     public function getSourceContext(): Source
  126.     {
  127.         return new Source("{% extends \"layout/backEndLayout.html.twig\" %}
  128. {% form_theme form 'bootstrap_4_layout.html.twig' %}
  129. {% block content %}
  130.   
  131. <div class=\"row mt-4\">
  132.          <div class=\"col-2 \" >
  133.                         <div class=\"btn-group record_actions  m-2\">
  134.                             <a class=\"btn btn-info\" href=\"{{ path('admin_users') }}\">
  135.                                 <i class=\"fa fa-list\"></i> {{ 'Back to the list'|trans({}, 'admin') }}
  136.                             </a>
  137.                         </div>
  138.                     </div>
  139.                     <div class=\"col-10 jumbotron  mx-auto\">
  140.                         <div class=\"col-md-6 mx-auto\">
  141.                             <article class=\"text-center\">
  142.                                      <div class=\"card-header\">
  143.                                         <h4 class=\"my-0 font-weight-normal text-center text-justify text-uppercase\">  Modification des donnees d'enseignant  </h4>
  144.                                   </div>
  145.                                 {{include('layout/partials/_form.html.twig',{'submitButtonText':'Update teacher', 'returnRoute':'admin_users'})}}
  146.                             </article>
  147.                         </div>
  148.                     </div>
  149.          </div>
  150.  </div>
  151.         
  152.     
  153. {% endblock %}
  154. ""user/edit.html.twig""/var/www/prod/current/templates/user/edit.html.twig");
  155.     }
  156. }