diff options
author | Munyoki Kilyungi | 2024-02-21 15:13:11 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-03-26 10:01:13 +0300 |
commit | 5a962593996bb9b38f63f3506f7bbe2a1835e415 (patch) | |
tree | 616c553cf59674352838b7f11b18544b9cfd2757 | |
parent | 05cfb8f38985a0f636b7a4d50c64740c667a230e (diff) | |
download | genenetwork2-5a962593996bb9b38f63f3506f7bbe2a1835e415.tar.gz |
Add conditional for accessionId in metadata editor template.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r-- | gn2/wqflask/templates/metadata/editor.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/templates/metadata/editor.html b/gn2/wqflask/templates/metadata/editor.html index 2c026c93..d8d36902 100644 --- a/gn2/wqflask/templates/metadata/editor.html +++ b/gn2/wqflask/templates/metadata/editor.html @@ -23,7 +23,7 @@ <input name="type" type="hidden" value="{{ metadata.type }}"/> <input name="label" type="hidden" value="{{ metadata.label }}"/> - {% if metadata.type == "dcat:Dataset" %} + {% if metadata.accessionId %} <input name="accession-id" type="hidden" value="{{ metadata.accessionId }}"/> {% endif %} |