From f1a126ea27df1e7eb51e4ca518003ea37bbfbeff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Thu, 31 Oct 2013 11:54:59 +0100 Subject: [PATCH] Description field as a list --- wtem/templates/wtem/exercises/edumed_przyporzadkuj.html | 5 +++-- wtem/templates/wtem/exercises/edumed_wybor.html | 8 +++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/wtem/templates/wtem/exercises/edumed_przyporzadkuj.html b/wtem/templates/wtem/exercises/edumed_przyporzadkuj.html index 85122e0..93516fe 100644 --- a/wtem/templates/wtem/exercises/edumed_przyporzadkuj.html +++ b/wtem/templates/wtem/exercises/edumed_przyporzadkuj.html @@ -5,10 +5,11 @@
+ {% for para in exercise.description %}

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

+ {% endfor %}

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

diff --git a/wtem/templates/wtem/exercises/edumed_wybor.html b/wtem/templates/wtem/exercises/edumed_wybor.html index 511cf7f..0fe9600 100644 --- a/wtem/templates/wtem/exercises/edumed_wybor.html +++ b/wtem/templates/wtem/exercises/edumed_wybor.html @@ -3,9 +3,11 @@

Zadanie {{no}}

-

- {{exercise.description}} -

+ {% for para in exercise.description %} +

+ {{para}} +

+ {% endfor %}
-- 2.20.1