register.html.twig 661 B

1234567891011121314151617181920212223
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Register{% endblock %}
  3. {% block body %}
  4. {% for flash_error in app.flashes('verify_email_error') %}
  5. <div class="alert alert-danger" role="alert">{{ flash_error }}</div>
  6. {% endfor %}
  7. <h1>Register</h1>
  8. {{ form_errors(registrationForm) }}
  9. {{ form_start(registrationForm) }}
  10. {{ form_row(registrationForm.email) }}
  11. {{ form_row(registrationForm.plainPassword, {
  12. label: 'Password'
  13. }) }}
  14. {{ form_row(registrationForm.agreeTerms) }}
  15. <button type="submit" class="btn">Register</button>
  16. {{ form_end(registrationForm) }}
  17. {% endblock %}