File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
django/contrib/admin/templates/admin Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 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 %}
Original file line number Diff line number Diff line change 54
54
< p class ="errornote ">
55
55
{% blocktrans count cl.formset.errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
56
56
</ p >
57
- < ul class =" errorlist " > {% for error in cl.formset.non_form_errors %} < li > {{ error }} </ li > {% endfor %} </ ul >
57
+ {{ cl.formset.non_form_errors }}
58
58
{% endif %}
59
59
< div class ="module{% if cl.has_filters %} filtered{% endif %} " id ="changelist ">
60
60
{% block search %}{% search_form cl %}{% endblock %}
You can’t perform that action at this time.
0 commit comments