about summary refs log tree commit diff
path: root/uploader/templates
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-09-10 16:57:41 -0500
committerFrederick Muriuki Muriithi2024-09-10 16:57:41 -0500
commit83b41616825d5abed8543a744d20cf6e4c6ffa64 (patch)
tree12a6a60687974d26b60da2650d13bcf5e5faa4af /uploader/templates
parent3c8ec9af68d593e7e5eef52aca3d001e22c8e0f7 (diff)
downloadgn-uploader-83b41616825d5abed8543a744d20cf6e4c6ffa64.tar.gz
Require that user selects the family.
Diffstat (limited to 'uploader/templates')
-rw-r--r--uploader/templates/species/create-species.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/uploader/templates/species/create-species.html b/uploader/templates/species/create-species.html
index 1bc3b61..0d0bedf 100644
--- a/uploader/templates/species/create-species.html
+++ b/uploader/templates/species/create-species.html
@@ -69,6 +69,22 @@
     </div>
 
     <div class="form-group">
+      <label for="select-species-family" class="form-label">Family</label>
+      <select id="select-species-family"
+              name="species_family"
+              required="required"
+              class="form-control">
+        <option value="">Please select a grouping</option>
+        {%for family in families%}
+        <option value="{{family}}">{{family}}</option>
+        {%endfor%}
+      </select>
+      <small class="form-text text-muted">
+        This is a generic grouping for the species that determines under which
+        grouping the species appears in the GeneNetwork menus</small>
+    </div>
+
+    <div class="form-group">
       <input type="submit"
              value="create new species"
              class="btn btn-primary" />