diff -r 22f41aafcedc -r 4b8aa5b9cb23 app/soc/templates/soc/survey/take.html --- a/app/soc/templates/soc/survey/take.html Sun Aug 09 13:03:47 2009 -0700 +++ b/app/soc/templates/soc/survey/take.html Sun Aug 09 13:42:31 2009 -0700 @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. {% endcomment %} +{% load forms_helpers %} {% block scripts %} {{ block.super }} @@ -27,46 +28,50 @@ {% block body %}
Last modified on {{ entity.modified }} by {{ entity.modified_by.name }}
-{% if survey_form %} - - {% load forms_helpers %} - - {{ help_text }} +
+ {% block help_text %} + {{ help_text }} + {% endblock help_text %} +
- {% if entity.content %} -
- {{ entity.content|safe }} -
- {% endif %} +{% block survey_description %} +{% if entity.content %} +
+ {{ entity.content|safe }} +
+{% endif %} +{% endblock survey_description %} - {% if form_action %} -
- {% else %} - - {% endif %} -
-
- - {% block form_table %} - {% as_twoline_table survey_form %} - {% endblock %} -
-
{# end survey_widget #} -
+{% block survey_form %} +{% if form_action %} + +{% else %} + +{% endif %} +
+
+ + {% block form_table %} + {% as_twoline_table survey_form %} + {% endblock %} +
+
{# end survey_widget #} +
-

-
- - - - - - -
- -
-
-
-{% endif %} +

-{% endblock %} +
+ + + + + + +
+ +
+
+ +{% endblock survey_form %} + +{% endblock body %}