aboutsummaryrefslogtreecommitdiff
path: root/gn2
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-02-21 16:09:56 +0300
committerBonfaceKilz2024-03-26 10:01:13 +0300
commitd485113ff4265b3059ddd9847a0a53b54fe0ba8f (patch)
tree7702ba5d43e2f28c78f686f17e67500fceb7c06e /gn2
parent013ebc238bde3ef0dce7d5e6973483c60fd6a5b3 (diff)
downloadgenenetwork2-d485113ff4265b3059ddd9847a0a53b54fe0ba8f.tar.gz
Add new hidden input for metadata id.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn2')
-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 d475e59b..0c96342e 100644
--- a/gn2/wqflask/templates/metadata/editor.html
+++ b/gn2/wqflask/templates/metadata/editor.html
@@ -20,6 +20,7 @@
</div>
<div class="panel-body">
<form action="/metadata/save" method="POST">
+ <input name="id" type="hidden" value="{{ metadata.id }}"/>
<input name="type" type="hidden" value="{{ metadata.type }}"/>
<input name="label" type="hidden" value="{{ metadata.label }}"/>
{% if metadata.classifiedUnder %}