aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qc_app/templates/parse_results.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/qc_app/templates/parse_results.html b/qc_app/templates/parse_results.html
index ec19812..d78bae6 100644
--- a/qc_app/templates/parse_results.html
+++ b/qc_app/templates/parse_results.html
@@ -12,11 +12,19 @@
{{errors_display(errors, "No errors found in the file", "We found the following errors", True)}}
-{%if errors | length == 0 %}
+{%if errors | length == 0 and not user_aborted %}
<form method="post" action="{{url_for('dbinsert.select_platform')}}">
<input type="hidden" name="job_id" value="{{job_id}}" />
<input type="submit" value="update database" class="btn btn-main" />
</form>
{%endif%}
+{%if errors | length > 0 or user_aborted %}
+<br />
+<a href="{{url_for('entry.upload_file')}}" title="Back to index page."
+ class="btn btn-main">
+ Go back
+</a>
+{%endif%}
+
{%endblock%}