From c0814f35f6777d057e74a5cd54145d878e274ce3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20M=C3=A9nager?= <herve.menager@pasteur.fr> Date: Sat, 18 Apr 2020 20:59:50 +0200 Subject: [PATCH] show ligand_id if Xray data selected problem raised in #204 --- ippisite/ippidb/templates/compound_form_content.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ippisite/ippidb/templates/compound_form_content.html b/ippisite/ippidb/templates/compound_form_content.html index 38bdb0b6..98254065 100644 --- a/ippisite/ippidb/templates/compound_form_content.html +++ b/ippisite/ippidb/templates/compound_form_content.html @@ -41,7 +41,7 @@ {{form.common_name.label}} </label> </div> - {%if form.is_a_ligand != None %} + {%if form.show_is_a_ligand != None %} <div class="input-inline"> <input type="text" name="{{form.ligand_id.html_name}}" {%if form.ligand_id.value %}value="{{form.ligand_id.value}}" {%endif%} -- GitLab