Ticket #6809: change_form-non_field_errors.diff

File change_form-non_field_errors.diff, 662 bytes (added by peschler, 7 years ago)

Patch for displaying non_field_errors.

  • django/contrib/admin/templates/admin/change_form.html

     
    3838    <p class="errornote">
    3939    {% blocktrans count adminform.form.errors.items|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
    4040    </p>
     41    <ul class="errorlist">{% for error in adminform.form.non_field_errors %}<li>{{ error }}</li>{% endfor %}</ul>
    4142{% endif %}
    4243
    4344{% for fieldset in adminform %}
Back to Top