diff --git a/apps/common/templates/generic_form.html b/apps/common/templates/generic_form.html
index 295fe0d25d..644efe59bf 100755
--- a/apps/common/templates/generic_form.html
+++ b/apps/common/templates/generic_form.html
@@ -3,13 +3,12 @@
{% block content %}
{% if form %}
-
- {% include "generic_form_subtemplate.html" %}
-
-
- {% if form.grid_clear or not form.grid %}
-
- {% endif %}
+
+ {% include "generic_form_subtemplate.html" %}
+
+ {% if form.grid_clear or not form.grid %}
+
+ {% endif %}
{% endif %}
{% for form in form_list %}
@@ -20,16 +19,13 @@
{% with form.object_name as object_name %}
{% with form.form_action as form_action %}
- {% with form.form as form %}
- {% include "generic_form_subtemplate.html" %}
- {% endwith %}
-
+ {% with form.form as form %}
+ {% include "generic_form_subtemplate.html" %}
+ {% endwith %}
{% if form.grid_clear or not form.grid %}
{% endif %}
-
-
{% endwith %}
{% endwith %}
{% endwith %}