{% import "mmw/macro.html" as wtf with context %} {% macro render_field_with_errors(field) %} {# original macro without
#} {{ field(**kwargs)|safe }} {% if field.errors %}