mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +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:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user