Ticket #11681: patch-11681.diff
File patch-11681.diff, 1.5 KB (added by , 15 years ago) |
---|
-
django/contrib/admin/templates/admin/change_list.html
67 67 <p class="errornote"> 68 68 {% blocktrans count cl.formset.errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %} 69 69 </p> 70 <ul class="errorlist">{% for error in cl.formset.non_form_errors %}<li>{{ error }}</li>{% endfor %}</ul>70 {{ cl.formset.non_form_errors }} 71 71 {% endif %} 72 72 <div class="module{% if cl.has_filters %} filtered{% endif %}" id="changelist"> 73 73 {% block search %}{% search_form cl %}{% endblock %} -
django/contrib/admin/templates/admin/change_form.html
38 38 <p class="errornote"> 39 39 {% blocktrans count errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %} 40 40 </p> 41 <ul class="errorlist">{% for error in adminform.form.non_field_errors %}<li>{{ error }}</li>{% endfor %}</ul>41 {{ adminform.form.non_field_errors }} 42 42 {% endif %} 43 43 44 44 {% for fieldset in adminform %}