diff --git a/ippisite/ippidb/templates/compound_form_content.html b/ippisite/ippidb/templates/compound_form_content.html
index 38bdb0b6e503d4d766170b589c24ea1526c47121..98254065db4d7bbbbc209b40de73418956951245 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%}