summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pytask/templates/task/view_textbook.html2
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>