diff options
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> |