diff options
author | Palaparthy Adityachandra | 2020-05-24 22:04:33 +0530 |
---|---|---|
committer | GitHub | 2020-05-24 22:04:33 +0530 |
commit | 372a7c56adaeabee374f9fd9268f1ebf0e082265 (patch) | |
tree | b5244f4a650293e5c099513405c43959c413891d /yaksh/templates | |
parent | fa656e1ce81c748b354e19e6d5b8de672a58c186 (diff) | |
parent | 708839e795f31fb382841e8b3d1c5fc580b22aec (diff) | |
download | online_test-372a7c56adaeabee374f9fd9268f1ebf0e082265.tar.gz online_test-372a7c56adaeabee374f9fd9268f1ebf0e082265.tar.bz2 online_test-372a7c56adaeabee374f9fd9268f1ebf0e082265.zip |
Merge pull request #716 from FOSSEE/fix_issues
Updates and Fixes
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/yaksh/add_question.html | 2 | ||||
-rw-r--r-- | yaksh/templates/yaksh/view_answerpaper.html | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/yaksh/templates/yaksh/add_question.html b/yaksh/templates/yaksh/add_question.html index 0c846d0..07e8c74 100644 --- a/yaksh/templates/yaksh/add_question.html +++ b/yaksh/templates/yaksh/add_question.html @@ -67,7 +67,7 @@ <div class="input-group mb-3"> <div class="custom-file"> {{ fileform.file_field }}{{ fileform.file_field.errors }} - <label class="custom-file-label" for="id_file"> + <label class="custom-file-label" for="id_file_field"> Choose file </label> </div> 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> |