From ab393cd33c20a12d2adb3ee48451036b25cbe63c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20M=C3=A9nager?= <herve.menager@pasteur.fr> Date: Tue, 21 Apr 2020 20:56:31 +0200 Subject: [PATCH] show ligand id control in compound form if xray data this is an additional fix for ligand issue raised in #204 and #208 --- 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 98254065..671989dd 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.show_is_a_ligand != None %} + {%if form.ligand_id != 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