From fb35162157fb95130bdd1fef45237ddb6d8075f9 Mon Sep 17 00:00:00 2001 From: yomguy Date: Wed, 11 Jul 2012 11:25:20 +0200 Subject: [PATCH] fix course detail doc list --- teleforma/templates/teleforma/course_detail.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/teleforma/templates/teleforma/course_detail.html b/teleforma/templates/teleforma/course_detail.html index d9312784..81db7595 100644 --- a/teleforma/templates/teleforma/course_detail.html +++ b/teleforma/templates/teleforma/course_detail.html @@ -38,7 +38,9 @@ $(document).ready(function(){ {% endblock %} {% block document %} - {% include "teleforma/inc/document_list.html" %} + {% with forloop.counter as type_counter %} + {% include "teleforma/inc/document_list.html" %} + {% endwith %} {% endblock %} -- 2.39.5