app/soc/templates/soc/survey/public.html
changeset 2473 5cf0625dfa73
parent 2424 51cf7a0c00a4
child 2551 087684992ab0
--- a/app/soc/templates/soc/survey/public.html	Wed Jul 01 14:49:54 2009 +0200
+++ b/app/soc/templates/soc/survey/public.html	Wed Jul 01 16:22:35 2009 +0200
@@ -34,54 +34,19 @@
 {% if survey_form %}
 
   {% load forms_helpers %}
-
-  {% if not read_only %}
-    <form method="post">
-  {% endif %}
-
-  {% if read_only %}
-    <form method="get" onsubmit="javascript:return false">
-  {% endif %}
-
-  {{ help_text }}
-
-<div style="width:100%; float:left;">
-  <div class="{{ status }}" id="survey_widget">
-
-    <table>
+  <form method="get" onsubmit="javascript:return false">
+    This page gives a preview of how users will see the Survey.
 
-  {# Project Selected for this Survey #}
-  {% if project %}
- <div id="project_link" style="font-size:.8em; margin:3px; display:none;">
- view project:
- <a target="_blank" href="/student_project/show/{{ project.key.name }}" >
- {{ project.title }}
- </a>
- </div>
-  {% endif %}
-
-      {% block form_table %}
-        {% as_twoline_table survey_form %}
-      {% endblock %}
-
-    </table>
-  </div> {# end survey_widget #}
-  </div>
-
-<br/><br/>
-  <table>
-    <tbody>
-      <tr>
-        <td>
-          {% if not read_only %}
-            <input type="submit" value="Submit" style="font-weight: bold;"/>
-          {% endif %}
-        </td>
-      </tr>
-    </tbody>
-  </table>
-
-    </form>
+    <div style="width:100%; float:left;">
+      <div class="{{ status }}" id="survey_widget">
+        <table>
+          {% block form_table %}
+            {% as_twoline_table survey_form %}
+          {% endblock %}
+        </table>
+      </div> {# end survey_widget #}
+    </div>
+  </form>
 {% endif %}
 
 {% endblock %}