pytask/templates/task/view_textbook.html
changeset 544 17c60a9c2439
parent 530 ab9b9e59de9d
child 547 1bfa67f465b4
--- a/pytask/templates/task/view_textbook.html	Tue Feb 01 04:34:05 2011 +0530
+++ b/pytask/templates/task/view_textbook.html	Tue Feb 01 04:50:18 2011 +0530
@@ -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>