pflaenz.li-Symfony/templates/registration/register.html.twig

23 lines
668 B
Twig
Raw Normal View History

2021-04-22 15:35:03 +02:00
{% extends 'base.html.twig' %}
{% block title %}Register{% endblock %}
{% block body %}
{% for flashError in app.flashes('verify_email_error') %}
<div class="alert alert-danger" role="alert">{{ flashError }}</div>
{% endfor %}
<h1>Register</h1>
{{ form_start(registrationForm) }}
{{ form_row(registrationForm.email) }}
2021-04-23 15:06:41 +02:00
{{ form_row(registrationForm.username) }}
2021-04-22 15:35:03 +02:00
{{ form_row(registrationForm.plainPassword, {
label: 'Password'
}) }}
{{ form_row(registrationForm.agreeTerms) }}
<button type="submit" class="btn">Register</button>
{{ form_end(registrationForm) }}
{% endblock %}