Description field as a list
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Thu, 31 Oct 2013 10:54:59 +0000 (11:54 +0100)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 15 Jan 2014 10:18:53 +0000 (11:18 +0100)
wtem/templates/wtem/exercises/edumed_przyporzadkuj.html
wtem/templates/wtem/exercises/edumed_wybor.html

index 85122e0..93516fe 100644 (file)
@@ -5,10 +5,11 @@
     <div class="question" data-no="1">
 
         <div class="description">
     <div class="question" data-no="1">
 
         <div class="description">
+        {% for para in exercise.description %}
             <p class="paragraph">
             <p class="paragraph">
-                {{exercise.description}}
-                <span class="instruction">Przeciągnij odpowiedzi i upuść w wybranym polu.</span>
+                {{para}}
             </p>
             </p>
+        {% endfor %}
         </div>
 
         <p class="paragraph">{{exercise.buckets_name|default:"kategorie"|capfirst}}:</p>
         </div>
 
         <p class="paragraph">{{exercise.buckets_name|default:"kategorie"|capfirst}}:</p>
index 511cf7f..0fe9600 100644 (file)
@@ -3,9 +3,11 @@
     <h3>Zadanie {{no}}</h3>
 
     <div class="description">
     <h3>Zadanie {{no}}</h3>
 
     <div class="description">
-        <p class="paragraph">
-            {{exercise.description}}
-        </p>
+        {% for para in exercise.description %}
+            <p class="paragraph">
+                {{para}}
+            </p>
+        {% endfor %}
     </div>
 
     <div class="question" data-no="1">
     </div>
 
     <div class="question" data-no="1">