1
0
mirror of https://github.com/django/django.git synced 2025-07-04 09:49:12 +00:00

newforms-admin: Fixed #6809 -- non_field_errors are now properly displayed. Thanks peschler.

git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Brian Rosner 2008-06-10 04:45:19 +00:00
parent c6b53bec10
commit 07b82590d8

View File

@ -38,6 +38,7 @@
<p class="errornote">
{% blocktrans count adminform.form.errors.items|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
</p>
<ul class="errorlist">{% for error in adminform.form.non_field_errors %}<li>{{ error }}</li>{% endfor %}</ul>
{% endif %}
{% for fieldset in adminform %}