{% macro render_form(form, legend=None, child=False) %} {% if not child %} {{ form.csrf }} {% if form.csrf.errors %}
{{ field.label }} {{ field }}