{# A note on the if statements... Jinja2 will execute the child template first and then the parent template. We want to allow the child template to overwrite these macros. To accomplish that, if the macro is already defined, we don't redefine it here. A little bit of a hack, yes, but that is the execute of Jinja2 and there isn't going to be much you can do about it. File an issue if you find a bug. #} {% if not render_wrapper %} {% macro render_wrapper() %} {{ caller() }} {% endmacro %} {% endif %} {% if not render_field %} {% macro render_field(field) -%}
{{ e }}
{% endfor %} {% endif %}