fix numbering bug
[edumed.git] / wtem / templates / wtem / exercises / file_upload.html
1 <div class="exercise-wtem" data-type="file" data-id="{{exercise.id}}">
2
3     {% if no %}
4         {% include "wtem/exercises/exercise_no.html" %}
5     {% endif %}
6
7     <div class="description">
8         {% for para in exercise.description %}
9             <p class="paragraph">
10                 {{para}}
11             </p>
12         {% endfor %}
13     </div>
14
15     {% if exercise.max_file_size_string %}
16         <p style="font-weight: bold;">Plik nie powinien być większy niż {{exercise.max_file_size_string}}.</p>
17     {% endif %}
18     <div style="margin: 15px auto; width:300px;">
19         <input style="float: left;" type="file" name="attachment_for_{{exercise.id}}"/>
20         <div style="clear:both;"></div>
21     </div>
22     
23
24     {% autoescape off %}
25     {% for para in exercise.description_after %}
26         <p>{{para}}</p>
27     {% endfor %}
28     {% endautoescape %}
29
30 </div>