From ee44431de6cf860fe89e796eab2bb0d555d90105 Mon Sep 17 00:00:00 2001
From: Frederick Muriuki Muriithi
Date: Tue, 12 Jul 2022 08:51:20 +0300
Subject: Add 'group' and 'tissue' selection.
- Build code to populate the "Group" and "Tissue" dropdown lists
- Enable redirect with POST data (code 307) in case there is input
error to enable the user fix their errors
- Move hidden fields to macro to reduce repetition
---
qc_app/templates/dbupdate_hidden_fields.html | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 qc_app/templates/dbupdate_hidden_fields.html
(limited to 'qc_app/templates/dbupdate_hidden_fields.html')
diff --git a/qc_app/templates/dbupdate_hidden_fields.html b/qc_app/templates/dbupdate_hidden_fields.html
new file mode 100644
index 0000000..cdebeab
--- /dev/null
+++ b/qc_app/templates/dbupdate_hidden_fields.html
@@ -0,0 +1,14 @@
+{%macro hidden_fields(filename, filetype):%}
+
+
+
+
+
+{%if kwargs.get("species"):%}
+
+{%endif%}
+{%if kwargs.get("genechipid"):%}
+
+{%endif%}
+
+{%endmacro%}
--
cgit v1.2.3