This repository has been archived on 2024-10-16. You can view files and clone it, but cannot push or open issues or pull requests.
pflaenz.li-Symfony/templates/registration/register.html.twig

23 lines
687 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) }}
2021-04-30 13:47:34 +02:00
<button type="submit" class="btn btn-lg btn-primary">Register</button>
2021-04-22 15:35:03 +02:00
{{ form_end(registrationForm) }}
{% endblock %}