From c3edf9cee6da286e258d0feb7cac480b0d86b7a4 Mon Sep 17 00:00:00 2001 From: Ben Webb Date: Fri, 1 Mar 2019 14:25:58 +0900 Subject: [PATCH] [#1117] Indent HTML better --- cove_360/templates/cove_360/explore.html | 96 ++++++++++++------------ 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/cove_360/templates/cove_360/explore.html b/cove_360/templates/cove_360/explore.html index bc782c9e2..fe37563bc 100644 --- a/cove_360/templates/cove_360/explore.html +++ b/cove_360/templates/cove_360/explore.html @@ -155,58 +155,58 @@

 {% trans "There are some validation errors in your data, please check them in the table(s) below." %}


{% with validation_errors=validation_errors_grouped.required error_prefix='required-' %} - {% if validation_errors %} -
-
-

Missing Fields

-
-
-

Some or all of your entries were missing fields which are required by the 360Giving Standard.

- {% include "validation_table.html" %} -
-
- {% for error_json, values in validation_errors %} - {% with error=error_json|json_decode %} - {% cove_modal_errors className="validation-errors-"|concat:error_prefix|concat:forloop.counter modalTitle=error.message errorList=values file_type=file_type full_table=True %} - {% endwith %} - {% endfor %} - {% endif %} + {% if validation_errors %} +
+
+

Missing Fields

+
+
+

Some or all of your entries were missing fields which are required by the 360Giving Standard.

+ {% include "validation_table.html" %} +
+
+ {% for error_json, values in validation_errors %} + {% with error=error_json|json_decode %} + {% cove_modal_errors className="validation-errors-"|concat:error_prefix|concat:forloop.counter modalTitle=error.message errorList=values file_type=file_type full_table=True %} + {% endwith %} + {% endfor %} + {% endif %} {% endwith %} {% with validation_errors=validation_errors_grouped.format error_prefix='format-' %} - {% if validation_errors %} -
-
-

Incorrect Formats

-
-
-

Some or all of your entries have incorrectly formatted data.

- {% include "validation_table.html" %} -
-
- {% for error_json, values in validation_errors %} - {% with error=error_json|json_decode %} - {% cove_modal_errors className="validation-errors-"|concat:error_prefix|concat:forloop.counter modalTitle=error.message errorList=values file_type=file_type full_table=True %} - {% endwith %} - {% endfor %} - {% endif %} + {% if validation_errors %} +
+
+

Incorrect Formats

+
+
+

Some or all of your entries have incorrectly formatted data.

+ {% include "validation_table.html" %} +
+
+ {% for error_json, values in validation_errors %} + {% with error=error_json|json_decode %} + {% cove_modal_errors className="validation-errors-"|concat:error_prefix|concat:forloop.counter modalTitle=error.message errorList=values file_type=file_type full_table=True %} + {% endwith %} + {% endfor %} + {% endif %} {% endwith %} {% with validation_errors=validation_errors_grouped.other error_prefix='other-' %} - {% if validation_errors %} -
-
-

Other

-
-
-

Other validation errrors.

- {% include "validation_table.html" %} -
-
- {% for error_json, values in validation_errors %} - {% with error=error_json|json_decode %} - {% cove_modal_errors className="validation-errors-"|concat:error_prefix|concat:forloop.counter modalTitle=error.message errorList=values file_type=file_type full_table=True %} - {% endwith %} - {% endfor %} - {% endif %} + {% if validation_errors %} +
+
+

Other

+
+
+

Other validation errrors.

+ {% include "validation_table.html" %} +
+
+ {% for error_json, values in validation_errors %} + {% with error=error_json|json_decode %} + {% cove_modal_errors className="validation-errors-"|concat:error_prefix|concat:forloop.counter modalTitle=error.message errorList=values file_type=file_type full_table=True %} + {% endwith %} + {% endfor %} + {% endif %} {% endwith %} {% endif %}