diff options
-rw-r--r-- | yaksh/templates/yaksh/add_question.html | 2 | ||||
-rw-r--r-- | yaksh/templates/yaksh/question.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/templates/yaksh/add_question.html b/yaksh/templates/yaksh/add_question.html index 858a8f3..f003256 100644 --- a/yaksh/templates/yaksh/add_question.html +++ b/yaksh/templates/yaksh/add_question.html @@ -33,7 +33,7 @@ <input type="checkbox" name="clear" value="{{file.id}}"> delete</input> <input type="checkbox" name="extract" value="{{file.id}}" >{% if file.extract %} dont extract{% else %} extract{% endif %}</input><br> - <a href="{{file.files.url}}">{{ file.files.name }}</a> + <a href="{{file.file.url}}">{{ file.file.name }}</a> <br> {% endfor %}{% endif %} <div class="form-group"> diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html index 24de815..2d52009 100644 --- a/yaksh/templates/yaksh/question.html +++ b/yaksh/templates/yaksh/question.html @@ -146,7 +146,7 @@ function call_skip(url) <h4>Files to download for this question</h4> {% for file in files %} {% if file.question_id == question.id %} - <h5><a href="{{file.files.url}}">{{file.files.name}}</a></h5> + <h5><a href="{{file.file.url}}">{{file.file.name}}</a></h5> {% endif %} {% endfor %} {% endif %} |