{% extends "layout.html" %} {% block head%} {{super()}} {% endblock %} {% block content %}

{{ message | safe }}

{{ form.hidden_tag() }} {{ form.firstname.label }} {{ form.firstname(class_="form-control") }} {% for error in form.firstname.errors %} {{ error }}
{% endfor %} {{ form.lastname.label }} {{ form.lastname(class_="form-control") }} {% for error in form.lastname.errors %} {{ error }}
{% endfor %} {{ form.email.label }} {{ form.email(class_="form-control") }} {% for error in form.email.errors %} {{ error }}
{% endfor %} {{ form.password.label }} {{ form.password(class_="form-control") }} {% for error in form.password.errors %} {{ error }}
{% endfor %}
{{ form.submit(class_="btn") }}
{% endblock %}