diff --git a/cps/templates/detail.html b/cps/templates/detail.html
index 30430663..f28839f6 100755
--- a/cps/templates/detail.html
+++ b/cps/templates/detail.html
@@ -205,8 +205,8 @@
{% for c in cc %}
-
- {% if entry['custom_column_' ~ c.id]|length > 0 %}
+ {% if entry['custom_column_' ~ c.id]|length > 0 %}
+
{{ c.name }}:
{% for column in entry['custom_column_' ~ c.id] %}
{% if c.datatype == 'rating' %}
@@ -235,8 +235,9 @@
{% endif %}
{% endif %}
{% endfor %}
- {% endif %}
-
+
+
+ {% endif %}
{% endfor %}
{% endif %}
{% if not current_user.is_anonymous %}