File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,9 @@ <h4 class="card-title">{{ title }}{% block pretitle %}{% endblock %}</h4>
5252 </ div >
5353
5454 < div class ="card-body ">
55- < div id ="content-main ">
56- {% if cl.formset and cl.formset.errors %}
55+ < form id ="changelist-form " method ="post "{% if cl.formset and cl.formset.is_multipart %}enctype ="multipart/form-data "{% endif %} novalidate > {% csrf_token %}
56+ < div id ="content-main ">
57+ {% if cl.formset and cl.formset.errors %}
5758 < p class ="errornote ">
5859 {% if cl.formset.total_error_count == 1 %}
5960 {% trans "Please correct the error below." %}
@@ -62,11 +63,10 @@ <h4 class="card-title">{{ title }}{% block pretitle %}{% endblock %}</h4>
6263 {% endif %}
6364 </ p >
6465 {{ cl.formset.non_form_errors }}
65- {% endif %}
66- < div class ="module{% if cl.has_filters %} filtered{% endif %} " id ="changelist ">
66+ {% endif %}
67+ < div class ="module{% if cl.has_filters %} filtered{% endif %} " id ="changelist ">
6768 < div class ="row ">
6869 < div class ="col-12 ">
69- < form id ="changelist-form " method ="post "{% if cl.formset and cl.formset.is_multipart %}enctype ="multipart/form-data "{% endif %} novalidate > {% csrf_token %}
7070 {% if cl.formset %}
7171 < div > {{ cl.formset.management_form }}</ div >
7272 {% endif %}
@@ -96,14 +96,14 @@ <h4 class="card-title">{{ title }}{% block pretitle %}{% endblock %}</h4>
9696 </ div >
9797 {% endif %}
9898 {% endblock %}
99- </ form >
10099 </ div >
101100 </ div >
102101 < div class ="row ">
103102 {% block pagination %}{% pagination cl %}{% endblock %}
104103 </ div >
105104 </ div >
106- </ div >
105+ </ div >
106+ </ form >
107107 </ div >
108108
109109 </ div >
You can’t perform that action at this time.
0 commit comments