mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-06 04:44:19 +01:00
Implement email verification feature, add registration form, and update user entity for verification status
This commit is contained in:
17
templates/registration/register.html.twig
Normal file
17
templates/registration/register.html.twig
Normal file
@@ -0,0 +1,17 @@
|
||||
{% extends 'backoffice/base.html.twig' %}
|
||||
{% block title %}{{ 'Register'|trans }}{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h3>{{ 'Register'|trans }}</h3>
|
||||
|
||||
{{ form_errors(registrationForm) }}
|
||||
|
||||
{{ form_start(registrationForm) }}
|
||||
{{ form_row(registrationForm.email) }}
|
||||
{{ form_row(registrationForm.plainPassword) }}
|
||||
|
||||
<button type="submit" class="btn btn-primary">Register</button>
|
||||
<a href="{{ path('app_login_login') }}" class="btn btn-link">{{ 'Already have an account? Log in'|trans }}</a>
|
||||
|
||||
{{ form_end(registrationForm) }}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user