{% set title = "Register" %} {% extends "layout/bootstrap.html" %} {% block content %} {% macro render_field(field) %}
{{ field.label }}
{{ field(**kwargs)|safe }} {% if field.errors %} {% endif %}
{% endmacro %}

Register

{{ render_field(form.email) }} {{ render_field(form.password) }} {{ render_field(form.confirm_password) }} {{ render_field(form.firstname) }} {{ render_field(form.surname) }} {{ render_field(form.accept_tos) }}
{% endblock %}