fix numbering bug
[edumed.git] / wtem / templates / wtem / exercises / file_upload.html
index eadcdfd..a5c3782 100644 (file)
@@ -1,7 +1,9 @@
 <div class="exercise-wtem" data-type="file" data-id="{{exercise.id}}">
 
-    <h3>Zadanie {{no}}</h3>
-        
+    {% if no %}
+        {% include "wtem/exercises/exercise_no.html" %}
+    {% endif %}
+
     <div class="description">
         {% for para in exercise.description %}
             <p class="paragraph">
@@ -25,4 +27,4 @@
     {% endfor %}
     {% endautoescape %}
 
-</div>
\ No newline at end of file
+</div>