diff options
author | ankitjavalkar | 2019-02-18 16:40:16 +0530 |
---|---|---|
committer | GitHub | 2019-02-18 16:40:16 +0530 |
commit | b71b517173cac8b4f266f36d0cbc918551b3ee73 (patch) | |
tree | f020ee332db3996d88d67bdab1cefddbcd82acf8 /yaksh/templates | |
parent | 01c476c535611c671c8b17ad1cb2e8f2b41a4378 (diff) | |
parent | 37ee0c9de91cac5bdb6275e12d35cb6b7697a7fb (diff) | |
download | online_test-b71b517173cac8b4f266f36d0cbc918551b3ee73.tar.gz online_test-b71b517173cac8b4f266f36d0cbc918551b3ee73.tar.bz2 online_test-b71b517173cac8b4f266f36d0cbc918551b3ee73.zip |
Merge pull request #575 from CruiseDevice/file_download_issue_in_quiz
Fix download file for a question in quiz
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/yaksh/question.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html index 59dfaef..cb6d90a 100644 --- a/yaksh/templates/yaksh/question.html +++ b/yaksh/templates/yaksh/question.html @@ -160,7 +160,7 @@ question_type = "{{ question.type }}" <span> Files to download for this question </span> <hr> {% for f_name in files %} <div class="yakshwell"> - <a href="{{f.file.url}}" class="btn btn-outline-secondary"><b>{{forloop.counter}}.</b> {{f_name.file.name}}</a> + <a href="{{f_name.file.url}}" class="btn btn-outline-secondary btn-sm " target="_blank">{{f_name.get_filename}}</a> <br> </div> {% endfor %} |