From 5e96d27f3d96c84fc5a15d7040843b379b701d20 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 12 Jun 2024 12:48:56 -0500 Subject: Make URI and UI correspond to each other. Formerly, the URI and UI were not corresponding to each other, e.g. the URI /upload/samples/select_species would display the UI for selecting/creating the population. This was very confusing. This commit fixes that. The commit also adds in user input validation to catch input errors. --- qc_app/templates/samples/select-population.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'qc_app/templates/samples/select-population.html') diff --git a/qc_app/templates/samples/select-population.html b/qc_app/templates/samples/select-population.html index 24decb4..4bb4cc1 100644 --- a/qc_app/templates/samples/select-population.html +++ b/qc_app/templates/samples/select-population.html @@ -15,7 +15,8 @@
-
+ select grouping/population {{flash_messages("error-select-population")}} @@ -43,7 +44,8 @@

OR

- + create new grouping/population {{flash_messages("error-create-population")}} -- cgit v1.2.3