From c0ffea83a7ad99ee8b4739d49108de4c231267c6 Mon Sep 17 00:00:00 2001 From: "Robert M. Thomson" Date: Thu, 18 Jun 2009 14:23:40 +0200 Subject: [PATCH] When setting the language during a questionnaire, use the questionnaire url/view so the change will be saved to the subject. --- questionnaire/templates/questionnaire/questionset.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/questionnaire/templates/questionnaire/questionset.html b/questionnaire/templates/questionnaire/questionset.html index 5c27c42..503da09 100644 --- a/questionnaire/templates/questionnaire/questionset.html +++ b/questionnaire/templates/questionnaire/questionset.html @@ -7,6 +7,11 @@ {% for x in cssinclude %} {% endfor %} {% endblock %} +{% block language %} +{% for lang in LANGUAGES %}{% if not forloop.first %} |{% endif %} +{{ lang.1 }} +{% endfor %} +{% endblock %} {% block styleextra %} .questionset_text { font-size: large;