From: Aleksander Łukasz
Date: Wed, 13 Nov 2013 13:10:15 +0000 (+0100)
Subject: Drag and drop item number not the whole item text in exercise of type "przyporzadkuj"
X-Git-Url: https://git.mdrn.pl/edumed.git/commitdiff_plain/e23381c38df328491275d6b512b035974d8b8ff2?ds=inline
Drag and drop item number not the whole item text in exercise of type "przyporzadkuj"
---
diff --git a/wtem/templates/wtem/exercises/edumed_przyporzadkuj.html b/wtem/templates/wtem/exercises/edumed_przyporzadkuj.html
index 2908f70..00140e3 100644
--- a/wtem/templates/wtem/exercises/edumed_przyporzadkuj.html
+++ b/wtem/templates/wtem/exercises/edumed_przyporzadkuj.html
@@ -11,9 +11,6 @@
{% endfor %}
- {% if not exercise.hide_default_instruction %}
- PrzeciÄ
gnij odpowiedzi i upuÅÄ w wybranym polu.
- {% endif %}
{{exercise.buckets_name|default:"kategorie"|capfirst}}:
@@ -32,6 +29,9 @@
{{exercise.items_name|capfirst}}:
+ {% if not exercise.hide_default_instruction %}
+
PrzeciÄ
gnij i upuÅÄ numery odpowiedzi w wybranym polu powyżej.
+ {% endif %}
{% if exercise.items_instruction %}
{{exercise.items_instruction}}
{% endif %}
@@ -43,17 +43,22 @@
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 %}
+ {% if item.img or item.desc %}
{{item.text}}
- {% if item.href %}
-
+ {% if item.img %}
+ {% if item.href %}
+
+ {% endif %}
+
+
+
+ {% if item.href %}{% endif %}
+ {% endif %}
+ {% if item.desc %}
+ {{item.desc}}
{% endif %}
-
-
-
- {% if item.href %}{% endif %}
{% else %}
{{item.text}}