Clean up registerForm
This commit is contained in:
@ -3,13 +3,5 @@
|
||||
{% block body %}
|
||||
<h1>Register</h1>
|
||||
|
||||
{{ form_start(registrationForm) }}
|
||||
{{ form_row(registrationForm.username) }}
|
||||
{{ form_row(registrationForm.plainPassword, {
|
||||
label: 'Password'
|
||||
}) }}
|
||||
{{ form_row(registrationForm.agreeTerms) }}
|
||||
|
||||
<button type="submit" class="btn">Register</button>
|
||||
{{ form_end(registrationForm) }}
|
||||
{{ form(registrationForm) }}
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user