about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/templates/phenotype.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/phenotype.html b/wqflask/wqflask/templates/phenotype.html
index 7eb86328..9bc958b9 100644
--- a/wqflask/wqflask/templates/phenotype.html
+++ b/wqflask/wqflask/templates/phenotype.html
@@ -90,7 +90,8 @@
 	    <td><b>Database</b></td>
 	    <td>
 		{% for database in metadata.dataset %}
-		<a href="{{ url_for('get_dataset', name='database.identifier' )}}" target="blank">{{ database.prefLabel }}</a> <br/>
+		{% set dataset_url = url_for('get_dataset', name=database.identifier)%}
+		<a href="{{ dataset_url }}" target="blank">{{ database.prefLabel }}</a> <br/>
                 {% endfor %}
 	    </td>
 	</tr>