diff options
author | Madhusudan.C.S | 2011-02-01 04:50:18 +0530 |
---|---|---|
committer | Madhusudan.C.S | 2011-02-01 04:50:18 +0530 |
commit | 4f300c57e3a0f0429c98cc3893035baee54ff458 (patch) | |
tree | 36259ce825b871d248977eff1255e7af0029dcf5 | |
parent | 3a7e3c97d2086e9c7e851374a297ce7f923497af (diff) | |
download | pytask-4f300c57e3a0f0429c98cc3893035baee54ff458.tar.gz pytask-4f300c57e3a0f0429c98cc3893035baee54ff458.tar.bz2 pytask-4f300c57e3a0f0429c98cc3893035baee54ff458.zip |
The chapters link on view textbook page must use the new views.
-rw-r--r-- | pytask/templates/task/view_textbook.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pytask/templates/task/view_textbook.html b/pytask/templates/task/view_textbook.html index 16f5da7..db95061 100644 --- a/pytask/templates/task/view_textbook.html +++ b/pytask/templates/task/view_textbook.html @@ -38,7 +38,7 @@ <table> {% for chap in chapters %} <tr> - <td><a href="{% url view_task chap.id %}">{{chap.title}}</a> </td> + <td><a href="{% url view_chapter chap.parent.id chap.id %}">{{chap.title}}</a> </td> </tr> {% endfor %} </table> |