summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authorankitjavalkar2017-01-23 16:15:33 +0530
committerankitjavalkar2017-01-23 16:15:33 +0530
commit2670ef89672777bcfda9e8e97e8a976d53dd1a1f (patch)
tree462a107fdd7a0029b2835f978b6e1efae598787f /yaksh/templates
parent8009453578839f811b4d353dd61ff8d4ce5b68c4 (diff)
downloadonline_test-2670ef89672777bcfda9e8e97e8a976d53dd1a1f.tar.gz
online_test-2670ef89672777bcfda9e8e97e8a976d53dd1a1f.tar.bz2
online_test-2670ef89672777bcfda9e8e97e8a976d53dd1a1f.zip
Minor fixes to instruction field rendering
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/quizzes_user.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/yaksh/templates/yaksh/quizzes_user.html b/yaksh/templates/yaksh/quizzes_user.html
index 46d6663..63f22a1 100644
--- a/yaksh/templates/yaksh/quizzes_user.html
+++ b/yaksh/templates/yaksh/quizzes_user.html
@@ -61,6 +61,7 @@
{% endif %}
</div>
+ {% if course.instructions %}
<div class="row">
<div class="panel-group">
<div class="panel panel-default">
@@ -70,11 +71,12 @@
</h4>
</div>
<div id="collapse{{ forloop.counter }}" class="panel-collapse collapse">
- <div class="panel-body"> {{ course.instructions }}</div>
+ <div class="panel-body"> {{ course.instructions|safe }}</div>
</div>
</div>
</div>
</div>
+ {% endif %}
</div>
</div><!--/row-->
</br>