<?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;
/* security/register.html.twig */
class __TwigTemplate_468d69c31a03fdb2ceb64664692e11de 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 = [
'title' => [$this, 'block_title'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "base.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", "security/register.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/register.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "security/register.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 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(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", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "Inscription sur 3DKro";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 5
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body(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", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 6
yield " <div class=\"container\">
<div class=\"row mt-5\">
<div class=\"col-12\">
<h1>S'inscrire</h1>
</div>
</div>
<div class=\"row\">
";
// line 13
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');
yield "
";
// line 14
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", false, false, false, 14), 'row', ["row_attr" => ["class" => "my-3"]]);
yield "
";
// line 15
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", false, false, false, 15), 'row', ["row_attr" => ["class" => "my-3"]]);
yield "
";
// line 16
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", false, false, false, 16), 'row', ["row_attr" => ["class" => "my-3"]]);
yield "
<input type=\"submit\" value=\"S'inscrire\" class=\"btn btn-green float-end\">
";
// line 18
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');
yield "
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "security/register.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 126 => 18, 121 => 16, 117 => 15, 113 => 14, 109 => 13, 100 => 6, 87 => 5, 64 => 3, 41 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'base.html.twig' %}
{% block title 'Inscription sur 3DKro' %}
{% block body %}
<div class=\"container\">
<div class=\"row mt-5\">
<div class=\"col-12\">
<h1>S'inscrire</h1>
</div>
</div>
<div class=\"row\">
{{ form_start(registrationType) }}
{{ form_row(registrationType.username, {'row_attr': {'class': 'my-3'}}) }}
{{ form_row(registrationType.email, {'row_attr': {'class': 'my-3'}}) }}
{{ form_row(registrationType.password, {'row_attr': {'class': 'my-3'}}) }}
<input type=\"submit\" value=\"S'inscrire\" class=\"btn btn-green float-end\">
{{ form_end(registrationType) }}
</div>
</div>
{% endblock %}
", "security/register.html.twig", "/home/u699591981/domains/3dkro.com/public_html/templates/security/register.html.twig");
}
}