{% extends '_nav.html' %} {% import "bootstrap/wtf.html" as wtf %} {% block content %}
{% include '_nav_top.html' %}

{% with errors = get_flashed_messages() %} {% if errors %} {% for err in errors %} {% endfor %} {% endif %} {% endwith %}
{{ form1.csrf_token }} {{ form1.id_field(value=teacherToEdit.id) }} {{ wtf.form_field(form1.firstname, value=teacherToEdit.firstname) }} {{ wtf.form_field(form1.lastname, value=teacherToEdit.lastname) }} {{ wtf.form_field(form1.submit, button_map={'submit':'success'}) }}
{% endblock %}