aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates/rqtl2/upload-rqtl2-bundle-step-01.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-02-05 07:00:01 +0300
committerFrederick Muriuki Muriithi2024-02-05 07:00:01 +0300
commitab71b34b97f3f1eee52b5688f41644541535f281 (patch)
tree4ae94d1957a62bd739203eddc4c157d2701461e4 /qc_app/templates/rqtl2/upload-rqtl2-bundle-step-01.html
parent635cf832f4717da6e8e7ef273a675a4ceea42ed0 (diff)
downloadgn-uploader-ab71b34b97f3f1eee52b5688f41644541535f281.tar.gz
Do general bundle validation and show errors
* Display any and all errors on the UI * Move `validate_bundle` to QC module and refactor to use `missing_files`
Diffstat (limited to 'qc_app/templates/rqtl2/upload-rqtl2-bundle-step-01.html')
-rw-r--r--qc_app/templates/rqtl2/upload-rqtl2-bundle-step-01.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/qc_app/templates/rqtl2/upload-rqtl2-bundle-step-01.html b/qc_app/templates/rqtl2/upload-rqtl2-bundle-step-01.html
index 6491e6b..64fcdcd 100644
--- a/qc_app/templates/rqtl2/upload-rqtl2-bundle-step-01.html
+++ b/qc_app/templates/rqtl2/upload-rqtl2-bundle-step-01.html
@@ -1,5 +1,5 @@
{%extends "base.html"%}
-{%from "flash_messages.html" import flash_messages%}
+{%from "flash_messages.html" import flash_all_messages%}
{%block title%}Upload R/qtl2 Bundle{%endblock%}
@@ -16,12 +16,12 @@
<input type="hidden" name="population_id"
value="{{population.InbredSetId}}" />
- {{flash_messages("error-rqtl2")}}
+ {{flash_all_messages()}}
<fieldset>
<legend>file upload</legend>
<label for="file:rqtl2-bundle">R/qtl2 bundle</label>
- <input type="file" id="file:rqtl2-bundle" name="rqtl2_bundle"
+ <input type="file" id="file:rqtl2-bundle" name="rqtl2_bundle_file"
accept="application/zip, .zip"
required="required" />
<span class="form-input-help"><p>Provide a valid R/qtl2 zip file here. In