X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/8ae014fa8f6e9e9555f28dc9e09ce0c81e58bc85..ee9eaab760964d7a27aefdaf9c9ee5379f680994:/wtem/templates/wtem/main.html diff --git a/wtem/templates/wtem/main.html b/wtem/templates/wtem/main.html index bee75ec..ccb6023 100644 --- a/wtem/templates/wtem/main.html +++ b/wtem/templates/wtem/main.html @@ -4,3 +4,19 @@ {% block extra_script %} {% compressed_js 'wtem' %} {% endblock %} + + + +{% block body %} + +{% for exercise in exercises %} + {% with 'wtem/exercises/'|add:exercise.type|add:'.html' as template_name %} + {% include template_name with exercise=exercise no=forloop.counter %} + {% endwith %} +{% endfor %} + + +
+ + +{% endblock %} \ No newline at end of file