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 +++-- qc_app/templates/samples/select-species.html | 29 +++++++++++++++++++++++++ qc_app/templates/samples/upload-samples.html | 6 +++-- 3 files changed, 37 insertions(+), 4 deletions(-) create mode 100644 qc_app/templates/samples/select-species.html (limited to 'qc_app/templates/samples') 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 @@