]> git.parisson.com Git - teleforma.git/commitdiff
fix course detail doc list
authoryomguy <yomguy@parisson.com>
Wed, 11 Jul 2012 09:25:20 +0000 (11:25 +0200)
committeryomguy <yomguy@parisson.com>
Wed, 11 Jul 2012 09:25:20 +0000 (11:25 +0200)
teleforma/templates/teleforma/course_detail.html

index d9312784e7ba70b9475dbf5894f9c7d1e6733979..81db75958fccce62733640698fabe633bd781113 100644 (file)
@@ -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 %}
 
         </div>