var/cache/dev/twig/c5/c564be77e0f30141c1218a72cbee5544.php line 44

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. /* security/register.html.twig */
  16. class __TwigTemplate_468d69c31a03fdb2ceb64664692e11de 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.             'title' => [$this'block_title'],
  29.             'body' => [$this'block_body'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33.     {
  34.         // line 1
  35.         return "base.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = []): iterable
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/register.html.twig"));
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/register.html.twig"));
  44.         $this->parent $this->loadTemplate("base.html.twig""security/register.html.twig"1);
  45.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 3
  52.     /**
  53.      * @return iterable<null|scalar|\Stringable>
  54.      */
  55.     public function block_title(array $context, array $blocks = []): iterable
  56.     {
  57.         $macros $this->macros;
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  62.         yield "Inscription sur 3DKro";
  63.         
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  65.         
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  67.         yield from [];
  68.     }
  69.     // line 5
  70.     /**
  71.      * @return iterable<null|scalar|\Stringable>
  72.      */
  73.     public function block_body(array $context, array $blocks = []): iterable
  74.     {
  75.         $macros $this->macros;
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  80.         // line 6
  81.         yield "    <div class=\"container\">
  82.         <div class=\"row mt-5\">
  83.             <div class=\"col-12\">
  84.                 <h1>S'inscrire</h1>
  85.             </div>
  86.         </div>
  87.         <div class=\"row\">
  88.             ";
  89.         // line 13
  90.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["registrationType"]) || array_key_exists("registrationType"$context) ? $context["registrationType"] : (function () { throw new RuntimeError('Variable "registrationType" does not exist.'13$this->source); })()), 'form_start');
  91.         yield "
  92.                 ";
  93.         // line 14
  94.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["registrationType"]) || array_key_exists("registrationType"$context) ? $context["registrationType"] : (function () { throw new RuntimeError('Variable "registrationType" does not exist.'14$this->source); })()), "username", [], "any"falsefalsefalse14), 'row', ["row_attr" => ["class" => "my-3"]]);
  95.         yield "
  96.                 ";
  97.         // line 15
  98.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["registrationType"]) || array_key_exists("registrationType"$context) ? $context["registrationType"] : (function () { throw new RuntimeError('Variable "registrationType" does not exist.'15$this->source); })()), "email", [], "any"falsefalsefalse15), 'row', ["row_attr" => ["class" => "my-3"]]);
  99.         yield "
  100.                 ";
  101.         // line 16
  102.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["registrationType"]) || array_key_exists("registrationType"$context) ? $context["registrationType"] : (function () { throw new RuntimeError('Variable "registrationType" does not exist.'16$this->source); })()), "password", [], "any"falsefalsefalse16), 'row', ["row_attr" => ["class" => "my-3"]]);
  103.         yield "
  104.                 <input type=\"submit\" value=\"S'inscrire\" class=\"btn btn-green float-end\">
  105.             ";
  106.         // line 18
  107.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["registrationType"]) || array_key_exists("registrationType"$context) ? $context["registrationType"] : (function () { throw new RuntimeError('Variable "registrationType" does not exist.'18$this->source); })()), 'form_end');
  108.         yield "
  109.         </div>
  110.     </div>
  111. ";
  112.         
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  114.         
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  116.         yield from [];
  117.     }
  118.     /**
  119.      * @codeCoverageIgnore
  120.      */
  121.     public function getTemplateName(): string
  122.     {
  123.         return "security/register.html.twig";
  124.     }
  125.     /**
  126.      * @codeCoverageIgnore
  127.      */
  128.     public function isTraitable(): bool
  129.     {
  130.         return false;
  131.     }
  132.     /**
  133.      * @codeCoverageIgnore
  134.      */
  135.     public function getDebugInfo(): array
  136.     {
  137.         return array (  126 => 18,  121 => 16,  117 => 15,  113 => 14,  109 => 13,  100 => 6,  87 => 5,  64 => 3,  41 => 1,);
  138.     }
  139.     public function getSourceContext(): Source
  140.     {
  141.         return new Source("{% extends 'base.html.twig' %}
  142. {% block title 'Inscription sur 3DKro' %}
  143. {% block body %}
  144.     <div class=\"container\">
  145.         <div class=\"row mt-5\">
  146.             <div class=\"col-12\">
  147.                 <h1>S'inscrire</h1>
  148.             </div>
  149.         </div>
  150.         <div class=\"row\">
  151.             {{ form_start(registrationType) }}
  152.                 {{ form_row(registrationType.username, {'row_attr': {'class': 'my-3'}}) }}
  153.                 {{ form_row(registrationType.email, {'row_attr': {'class': 'my-3'}}) }}
  154.                 {{ form_row(registrationType.password, {'row_attr': {'class': 'my-3'}}) }}
  155.                 <input type=\"submit\" value=\"S'inscrire\" class=\"btn btn-green float-end\">
  156.             {{ form_end(registrationType) }}
  157.         </div>
  158.     </div>
  159. {% endblock %}
  160. ""security/register.html.twig""/home/u699591981/domains/3dkro.com/public_html/templates/security/register.html.twig");
  161.     }
  162. }