app/soc/templates/soc/survey/public.html
changeset 2559 af2874bc01f3
parent 2558 ba32a4f5716b
child 2562 9f9261d32efc
--- a/app/soc/templates/soc/survey/public.html	Mon Jul 06 14:58:46 2009 +0200
+++ b/app/soc/templates/soc/survey/public.html	Mon Jul 06 15:06:05 2009 +0200
@@ -37,9 +37,11 @@
   <form method="get" onsubmit="javascript:return false">
     This page gives a preview of how users will see the Survey.
 
-    <div=description>
-      {{ entity.content|safe }}
-    </div>
+    {% if entity.content %}
+      <div=survey_description>
+        {{ entity.content|safe }}
+      </div>
+    {% endif %}
 
     <div style="width:100%; float:left;">
       <div class="{{ status }}" id="survey_widget">