1 <div class="exercise exercise-wtem przyporzadkuj" data-type="przyporzadkuj" data-id="{{exercise.id}}">
3 <h3>Zadanie {{no}}</h3>
5 <div class="question" data-no="1">
7 <div class="description">
8 {% for para in exercise.description %}
14 {% if not exercise.hide_default_instruction %}
15 <span class="instruction">Przeciągnij odpowiedzi i upuść w wybranym polu.</span>
19 <p class="paragraph">{{exercise.buckets_name|default:"kategorie"|capfirst}}:</p>
21 <ul class="lista punkt predicate" data-name="kategorie">
22 {% for bucket in exercise.buckets %}
23 <li data-predicate="{{bucket.id}}">
26 <li class="placeholder multiple ui-droppable accepting"></li>
33 <div class="description" style="margin-bottom:10px;">
34 <p class="paragraph">{{exercise.items_name|capfirst}}:</p>
35 {% if exercise.items_instruction %}
36 <span class="instruction">{{exercise.items_instruction}}</span>
40 <ul class="lista punkt subject {% if exercise.items_inline %}wtem-items-inline{% endif %}" data-target="kategorie">
41 {% for item in exercise.items %}
43 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).
47 <li style="magin-bottom:5px;">
48 <span data-solution="1" data-no="{{forloop.counter}}" data-id="{{item.id}}" class="question-piece draggable ui-draggable">{{item.text}}</span>
51 <a href="/static/wtem/img/{{item.href}}">
54 <img src="/static/wtem/img/{{item.img}}"/>
56 {% if item.href %}</a>{% endif %}
59 <li data-solution="1" data-no="{{forloop.counter}}" data-id="{{item.id}}" class="question-piece draggable ui-draggable">{{item.text}}</li>