From: yomguy Date: Wed, 11 Jul 2012 09:25:20 +0000 (+0200) Subject: fix course detail doc list X-Git-Tag: 0.7-dev~15 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=fb35162157fb95130bdd1fef45237ddb6d8075f9;p=teleforma.git fix course detail doc list --- 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 %}