X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/d5c4f92e6d0f42cc869245c26b905fafe33f9322..779388f1f9ac282a73b70a37910cee109bc15047:/wtem/templates/wtem/exercises/edumed_przyporzadkuj.html diff --git a/wtem/templates/wtem/exercises/edumed_przyporzadkuj.html b/wtem/templates/wtem/exercises/edumed_przyporzadkuj.html index c56dec0..5ad558e 100644 --- a/wtem/templates/wtem/exercises/edumed_przyporzadkuj.html +++ b/wtem/templates/wtem/exercises/edumed_przyporzadkuj.html @@ -1,4 +1,4 @@ -
+

Zadanie {{no}}

@@ -28,14 +28,32 @@
-
+

{{exercise.items_name|capfirst}}:

    {% for item in exercise.items %} - -
  • {{item.text}}
  • + {% comment %} + data-solution set to single bogus value only to indicate that this piece has no multiple solutions, not used otherwise (see: is_multiple in edumed.coffee). + {% endcomment %} + + {% if item.img %} +
  • + {{item.text}} + + {% if item.href %} + + {% endif %} + + + + {% if item.href %}{% endif %} +
  • + {% else %} +
  • {{item.text}}
  • + {% endif %} + {% endfor %}