<div class="course_step">
{% trans "Read the following documents" %}
</div>
- {% with seminar.doc_1 as docs %}
+ {% with seminar.docs_1 as docs %}
{% include "teleforma/inc/document_simple_list.html" %}
{% endwith %}
<div class="course_step">
{% trans "Read the following documents" %}
</div>
- {% with seminar.doc_2 as docs %}
+ {% with seminar.docs_2 as docs %}
{% include "teleforma/inc/document_simple_list.html" %}
{% endwith %}
<div class="course_step">
{% trans "Read the following documents" %}
</div>
- {% with seminar.doc_correct as docs %}
+ {% with seminar.docs_correct as docs %}
{% include "teleforma/inc/document_simple_list.html" %}
{% endwith %}
{% endif %}
progress = 0
total = 0
- objects = [seminar.doc_1, seminar.doc_2, seminar.media, seminar.doc_correct]
+ objects = [seminar.docs_1, seminar.docs_2, seminar.media, seminar.docs_correct]
for obj in objects:
for item in obj.all():
total += item.weight