You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
858 B
31 lines
858 B
{% extends 'base.html.twig' %}
|
|
|
|
{% block title %}Inscription{% endblock %}
|
|
|
|
{% block stylesheets %}
|
|
{{ parent() }}
|
|
<link rel="stylesheet" href="{{ asset('css/login.css') }}">
|
|
{% endblock %}
|
|
|
|
{% block body %}
|
|
<div class="register-container">
|
|
<h1>📝 Inscription</h1>
|
|
|
|
{{ form_start(registrationForm) }}
|
|
{{ form_errors(registrationForm) }}
|
|
|
|
{{ form_row(registrationForm.username) }}
|
|
{{ form_row(registrationForm.plainPassword, {
|
|
label: 'Mot de passe'
|
|
}) }}
|
|
|
|
<button type="submit" class="btn">Créer mon compte</button>
|
|
{{ form_end(registrationForm) }}
|
|
|
|
<div class="no-account">
|
|
<p>Déjà inscrit ?</p>
|
|
<a href="{{ path('app_login') }}" class="btn-register">Se connecter</a>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|