{% extends 'base.html.twig' %}
{% block title %}
	{{parent()}}
	Inscription
{% endblock %}
{% block body %}
	<div class="container-fluid">
		<h1 class="text-center text-primary mt-4 pt-4 display-1 fw-bold">INSCRIPTION</h1>
	</h1>
	<div class="row justify-content-center">
		<div class="col-12 col-md-6 bg-white p-4 m-0 text-primary">
			{{ form_errors(registrationForm) }}
			{{ form_start(registrationForm) }}
			{{ form_row(registrationForm.email) }}
			{{ form_row(registrationForm.nom, {label: 'Nom'}) }}
			{{ form_row(registrationForm.prenom, {label: 'Prénom'}) }}
			{{ form_row(registrationForm.plainPassword, {label: 'Password'}) }}
			{{ form_row(registrationForm.agreeTerms) }}
			<div class="text-center">
				<button class="btn btn-lg btn-primary mt-2" type="submit">
					S'inscrire</button>
			</div>
			{{ form_end(registrationForm) }}
		</div>
	</div>
</div>{% endblock %}
