aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/samples/select-species.html
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/templates/samples/select-species.html')
-rw-r--r--uploader/templates/samples/select-species.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/uploader/templates/samples/select-species.html b/uploader/templates/samples/select-species.html
new file mode 100644
index 0000000..edadc61
--- /dev/null
+++ b/uploader/templates/samples/select-species.html
@@ -0,0 +1,30 @@
+{%extends "base.html"%}
+{%from "flash_messages.html" import flash_all_messages%}
+
+{%block title%}Select Grouping/Population{%endblock%}
+
+{%block contents%}
+<h2 class="heading">upload samples/cases</h2>
+
+<p>We need to know what species your data belongs to.</p>
+
+{{flash_all_messages()}}
+
+<form method="POST" action="{{url_for('samples.select_species')}}">
+ <legend class="heading">upload samples</legend>
+ <div class="form-group">
+ <label for="select_species02" class="form-label">Species</label>
+ <select id="select_species02"
+ name="species_id"
+ required="required"
+ class="form-control">
+ <option value="">Select species</option>
+ {%for spec in species%}
+ <option value="{{spec.SpeciesId}}">{{spec.MenuName}}</option>
+ {%endfor%}
+ </select>
+ </div>
+
+ <button type="submit" class="btn btn-primary">submit</button>
+</form>
+{%endblock%}