First exercise of type przyporzadkuj
[edumed.git] / wtem / templates / wtem / exercises / edumed_przyporzadkuj.html
1 <div class="exercise przyporzadkuj" data-type="przyporzadkuj">
2
3     <h3>Zadanie {{no}}</h3>
4     
5     <div class="question" data-no="1">
6
7         <div class="description">
8             <p class="paragraph">
9                 {{exercise.description}}
10                 <span class="instruction">Przeciągnij odpowiedzi i upuść w wybranym polu.</span>
11             </p>
12         </div>
13
14         <p class="paragraph">{{exercise.buckets_name|default:"kategorie"|capfirst}}:</p>
15
16         <ul class="lista punkt predicate" data-name="kategorie">
17             {% for bucket in exercise.buckets %}
18                 <li data-predicate="{{bucket.id}}">
19                     {{bucket.title}}
20                     <ul class="subjects">
21                         <li class="placeholder multiple ui-droppable accepting"></li>
22                     </ul>
23                 </li>
24             {% endfor %}
25         </ul>
26         <br class="clr">
27
28         <div class="description">
29             <p class="paragraph">{{exercise.items_name|capfirst}}:</p>
30         </div>
31          
32         <ul class="lista punkt subject" data-target="kategorie">
33             {% for item in exercise.items %}
34                 <!-- 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). -->
35                 <li data-solution="1" data-no="{{forloop.counter}}" data-id="{{item.id}}" class="question-piece draggable ui-draggable">{{item.text}}</li>
36             {% endfor %}
37         </ul>
38
39         <br class="clr">
40
41     </div>
42
43 </div>
44