summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraditya2020-05-24 21:52:23 +0530
committeraditya2020-05-24 21:52:23 +0530
commit708839e795f31fb382841e8b3d1c5fc580b22aec (patch)
treeb5244f4a650293e5c099513405c43959c413891d
parenta9993eeec0a16d058bf36301b2f282b29aec15d1 (diff)
downloadonline_test-708839e795f31fb382841e8b3d1c5fc580b22aec.tar.gz
online_test-708839e795f31fb382841e8b3d1c5fc580b22aec.tar.bz2
online_test-708839e795f31fb382841e8b3d1c5fc580b22aec.zip
Show provided question solution
-rw-r--r--yaksh/templates/yaksh/view_answerpaper.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/yaksh/templates/yaksh/view_answerpaper.html b/yaksh/templates/yaksh/view_answerpaper.html
index c1f13d1..d955192 100644
--- a/yaksh/templates/yaksh/view_answerpaper.html
+++ b/yaksh/templates/yaksh/view_answerpaper.html
@@ -167,6 +167,15 @@
{% endfor %}
{% endif %}
<br>
+ <div class="card">
+ <div class="card-body">
+ <span class="badge badge-pill badge-success">
+ Solution for the question
+ </span><br><br>
+ {{ question.solution|safe }}
+ </div>
+ </div>
+ <br>
<h5>
<span class="badge badge-pill badge-primary">Student answer(s):
</span>