{% extends "layout/login_layout.html.twig" %}
{% block title %}Inscription : {{parent()}}{% endblock %}
{% block body %}
<div class="sign-container mt-4">
<div class="mx-auto col-md-3 mb-3">
{{ form_start(registrationForm)}}
<h5 class="mt-1 mb-3 font-weight-bold">Créer un compte</h5>
{{ form_row(registrationForm.name)}}
{# {{ form_row(registrationForm.lastname)}} #}
{{ form_row(registrationForm.firstname)}}
{{ form_row(registrationForm.email)}}
{{ form_row(registrationForm.phoneNumber)}}
{{ form_row(registrationForm.password)}}
{{ form_widget(registrationForm)}}
<button class="btn btn-primary btn-sm font-weight-bold btn-block mt-4">
{{ button| default('Inscription')}}
</button>
<hr>
<p class="font-weight-bold">
Déjà membre ? <a href="{{path('app_login')}}">Connectez-vous ici</a>
</p>
{{ form_end(registrationForm)}}
</div>
</div>
{% endblock %}