From e23381c38df328491275d6b512b035974d8b8ff2 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Aleksander=20=C5=81ukasz?=
Date: Wed, 13 Nov 2013 14:10:15 +0100
Subject: [PATCH] Drag and drop item number not the whole item text in exercise
of type "przyporzadkuj"
---
.../wtem/exercises/edumed_przyporzadkuj.html | 25 +++++++++++--------
1 file changed, 15 insertions(+), 10 deletions(-)
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}}
--
2.20.1