Commits

Luke Plant committed 0449514

[1.2.X] Fixed HTML error in admin when using list_editable.

Backport of [15616] from trunk.

Comments (0)

Files changed (1)

django/contrib/admin/templates/admin/change_list.html

       
       <form id="changelist-form" action="" method="post"{% if cl.formset.is_multipart %} enctype="multipart/form-data"{% endif %}>{% csrf_token %}
       {% if cl.formset %}
-        {{ cl.formset.management_form }}
+        <div>{{ cl.formset.management_form }}</div>
       {% endif %}
 
       {% block result_list %}