﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
22636	NON_FIELD_ERRORS should be accessible via Form.errors.as_data() in  a template	sebastian.annies@…	nobody	"A naive developer would try to access the non-field errors in a template like that: 

{{{
{% for messages in form.errors.as_data.__all__ %}
    {% for message in messages %}
            <div class=""alert alert-error"">{{ message }}</div>
    {% endfor %}
{% endfor %}

}}}

Unfortunately this is not possible as 

{{{
Variables and attributes may not begin with underscores: 'form.errors.as_data.__all__'
}}}

The key should not start with underscore to make the data accessible in templates

"	Cleanup/optimization	closed	Forms	1.7-beta-2	Normal	invalid			Unreviewed	0	0	0	0	1	0
