aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/species/edit-species.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-09-12 12:57:50 -0500
committerFrederick Muriuki Muriithi2024-09-12 12:57:50 -0500
commitf6096e430e2bb914225823a1953c109bad89d755 (patch)
treecabaadb1985b4c078c3612242c9a342a89010d25 /uploader/templates/species/edit-species.html
parent1a4804305c764cb71afa472561b132278113d842 (diff)
downloadgn-uploader-f6096e430e2bb914225823a1953c109bad89d755.tar.gz
Save the updated species details.
Diffstat (limited to 'uploader/templates/species/edit-species.html')
-rw-r--r--uploader/templates/species/edit-species.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/uploader/templates/species/edit-species.html b/uploader/templates/species/edit-species.html
index 6827751..5a26455 100644
--- a/uploader/templates/species/edit-species.html
+++ b/uploader/templates/species/edit-species.html
@@ -107,6 +107,7 @@
id="txt-species-familyorderid"
name="species_familyorderid"
value="{{species.FamilyOrderId}}"
+ required="required"
class="form-control" />
<small class="form-text text-muted">
This is a number that determines the order of the "Family" groupings
@@ -121,7 +122,7 @@
<input type="number"
id="txt-species-orderid"
name="species_orderid"
- value="{{species.OrderId or max_order_id}}"
+ value="{{species.OrderId or (max_order_id + 5)}}"
class="form-control" />
<small class="form-text text-muted">
This integer value determines the order of the species in relation to