aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-02-26 22:03:52 +0300
committerBonfaceKilz2024-03-26 10:01:13 +0300
commit0a7a63daafb741ac79d3f6a4bb733e854bc42509 (patch)
tree6754fc5dc186bc0e85a87311af039be8aded90e6 /gn2/wqflask
parent8705a225dfcab5ad7cc07f0abf73c457e5a75686 (diff)
downloadgenenetwork2-0a7a63daafb741ac79d3f6a4bb733e854bc42509.tar.gz
Add a hidden input form element for "section".
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn2/wqflask')
-rw-r--r--gn2/wqflask/templates/metadata/editor.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/gn2/wqflask/templates/metadata/editor.html b/gn2/wqflask/templates/metadata/editor.html
index 0c96342e..6d84dc6e 100644
--- a/gn2/wqflask/templates/metadata/editor.html
+++ b/gn2/wqflask/templates/metadata/editor.html
@@ -21,6 +21,7 @@
<div class="panel-body">
<form action="/metadata/save" method="POST">
<input name="id" type="hidden" value="{{ metadata.id }}"/>
+ <input name="section" type="hidden" value="{{ section }}"/>
<input name="type" type="hidden" value="{{ metadata.type }}"/>
<input name="label" type="hidden" value="{{ metadata.label }}"/>
{% if metadata.classifiedUnder %}