@register.inclusion_tag("includes/form_errors.html", takes_context=True)
def errors_for(context, form):
    return {"form": form}
Renders an alert if the form has any errors.
dataset/ETHPy150Open stephenmcd/mezzanine/mezzanine/core/templatetags/mezzanine_tags.py/errors_for