fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix numbering bug
[edumed.git]
/
wtem
/
templates
/
wtem
/
single.html
diff --git
a/wtem/templates/wtem/single.html
b/wtem/templates/wtem/single.html
index
3380145
..
8bb12bd
100644
(file)
--- a/
wtem/templates/wtem/single.html
+++ b/
wtem/templates/wtem/single.html
@@
-40,9
+40,10
@@
<form method="post">
<form method="post">
+{% include 'wtem/exercises/exercise_no.html' %}
{% cache 300 wtem exercise.id %}
{% with 'wtem/exercises/'|add:exercise.type|add:'.html' as template_name %}
{% cache 300 wtem exercise.id %}
{% with 'wtem/exercises/'|add:exercise.type|add:'.html' as template_name %}
-{% include
template_name with exercise=exercise
%}
+{% include
template_name with exercise=exercise no=''
%}
{% endwith %}
{% endcache %}
{% endwith %}
{% endcache %}