{% 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.uuid_field(value=childToEdit.uuid) }} {{ wtf.form_field(form1.firstname, value=childToEdit.firstname) }} {{ wtf.form_field(form1.lastname, value=childToEdit.lastname) }} {{ wtf.form_field(form1.family_uuid, value=childToEdit.family_uuid) }} {{ wtf.form_field(form1.date_of_birth, value=childToEdit.date_of_birth) }} {{ wtf.form_field(form1.date_of_registration, value=childToEdit.date_of_registration) }} {{ wtf.form_field(form1.class1_uuid, value=childToEdit.class1_uuid) }} {{ wtf.form_field(form1.class2_uuid, value=childToEdit.class2_uuid) }} {{ wtf.form_field(form1.class3_uuid, value=childToEdit.class3_uuid) }} {{ wtf.form_field(form1.submit, button_map={'submit':'success'}) }}
{% endblock %}