From f91b96565dca6ffe46e6b30aeb6fdd05104343ea Mon Sep 17 00:00:00 2001 From: ichuang Date: Tue, 22 Apr 2014 02:00:14 +0000 Subject: [PATCH] bugfix: allow multiple choice questions to display hints --- common/lib/capa/capa/templates/choicegroup.html | 3 +++ common/lib/capa/capa/templates/choicetext.html | 3 +++ 2 files changed, 6 insertions(+) diff --git a/common/lib/capa/capa/templates/choicegroup.html b/common/lib/capa/capa/templates/choicegroup.html index c91cfb0c57..60145c3a68 100644 --- a/common/lib/capa/capa/templates/choicegroup.html +++ b/common/lib/capa/capa/templates/choicegroup.html @@ -62,4 +62,7 @@ % if show_correctness == "never" and (value or status not in ['unsubmitted']):
${submitted_message}
%endif + % if msg: + ${msg|n} + % endif diff --git a/common/lib/capa/capa/templates/choicetext.html b/common/lib/capa/capa/templates/choicetext.html index 4dadb83d9e..2efde27088 100644 --- a/common/lib/capa/capa/templates/choicetext.html +++ b/common/lib/capa/capa/templates/choicetext.html @@ -64,5 +64,8 @@ % if show_correctness == "never" and (value or status not in ['unsubmitted']):
${submitted_message}
%endif + % if msg: + ${msg|n} + % endif