aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates/rqtl2
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-02-14 16:40:31 +0300
committerFrederick Muriuki Muriithi2024-02-14 17:50:39 +0300
commit5d7bcb128de3c6a2cca254829f1d208e7db1ecaf (patch)
tree0f54eab1ec3e3c5150e5b26064e6a9b7bcd34569 /qc_app/templates/rqtl2
parente9e3b1efc33b35280464ba2f40d96fdd6560e3c1 (diff)
downloadgn-uploader-5d7bcb128de3c6a2cca254829f1d208e7db1ecaf.tar.gz
Provide endpoint to send data to.
Diffstat (limited to 'qc_app/templates/rqtl2')
-rw-r--r--qc_app/templates/rqtl2/rqtl2-qc-job-results.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/qc_app/templates/rqtl2/rqtl2-qc-job-results.html b/qc_app/templates/rqtl2/rqtl2-qc-job-results.html
index 46a168f..cfa2a9c 100644
--- a/qc_app/templates/rqtl2/rqtl2-qc-job-results.html
+++ b/qc_app/templates/rqtl2/rqtl2-qc-job-results.html
@@ -13,10 +13,14 @@
the following details:</p>
</div>
-<form id="form-qc-job-results" action="#implement-this" method="POST">
+<form id="form-qc-job-results"
+ action="{{url_for('upload.rqtl2.select_dataset_info',
+ species_id=species.SpeciesId,
+ population_id=population.Id)}}"
+ method="POST">
<fieldset>
<legend>Species</legend>
- <input type="hidden" name="speciesid" value="{{species.SpeciesId}}" />
+ <input type="hidden" name="species_id" value="{{species.SpeciesId}}" />
<span class="form-col-1">Name</span>
<span class="form-col-2">{{species.Name | capitalize}}</span>
@@ -27,7 +31,7 @@
<fieldset>
<legend>population</legend>
- <input type="hidden" name="populationid" value="{{populationid}}" />
+ <input type="hidden" name="population_id" value="{{population.Id}}" />
<span class="form-col-1">Name</span>
<span class="form-col-2">{{population.InbredSetName}}</span>
@@ -44,7 +48,7 @@
<fieldset>
<legend>R/qtl2 Bundle File</legend>
- <input type="hidden" name="rqtl2-bundle-file" value="{{rqtl2bundle}}" />
+ <input type="hidden" name="rqtl2_bundle_file" value="{{rqtl2bundle}}" />
<input type="hidden" name="original-filename" value="{{rqtl2bundleorig}}" />
<span class="form-col-1">Original Name</span>