X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/2c29cc5cf878a27f7fd16f4ac2c10472263bcfc1..ed127c1da2291a994194ebee3d950ff313c17b7f:/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 85122e0..67ad08b 100644 --- a/wtem/templates/wtem/exercises/edumed_przyporzadkuj.html +++ b/wtem/templates/wtem/exercises/edumed_przyporzadkuj.html @@ -1,14 +1,19 @@ -
+

Zadanie {{no}}

+ {% for para in exercise.description %}

- {{exercise.description}} - Przeciągnij odpowiedzi i upuść w wybranym polu. + {{para}}

+ + {% endfor %} + {% if not exercise.hide_default_instruction %} + Przeciągnij odpowiedzi i upuść w wybranym polu. + {% endif %}

{{exercise.buckets_name|default:"kategorie"|capfirst}}:

@@ -25,14 +30,35 @@
-
+

{{exercise.items_name|capfirst}}:

+ {% if exercise.items_instruction %} + {{exercise.items_instruction}} + {% endif %}
-
    +
      {% 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 %}