1 <div class="exercise exercise-wtem wybor" data-type="wybor" data-id="{{exercise.id}}">
3 <h3>Zadanie {{no}}</h3>
6 <div class="description">
7 {% for para in exercise.description %}
12 <span class="instruction">
13 {% if exercise.answer|length == 1 %}
14 Tylko jedna odpowiedź jest prawidłowa.
16 Zaznacz wszystkie prawidłowe odpowiedzi.
22 <div class="question" data-no="1">
23 <ol class="lista num">
24 {% for option in exercise.options %}
25 <li class="question-piece" data-name="{{option.id}}">
26 <input type="{% if exercise.answer|length == 1 %}radio{% else %}checkbox{% endif %}" name="{% if exercise.answer|length == 1 %}e{{no}}{% else %}e{{no}}_{{option.id}}{% endif %}" id="e{{no}}_{{option.id}}">
27 <label for="e{{no}}_{{option.id}}">{{option.text}}</label>
33 {% if exercise.open_part %}
34 <div class="open_part">
35 <div class="description">
36 {% for para in exercise.open_part %}
42 <textarea style="width: 100%; margin-top:10px;" rows="{{exercise.open_part_rows|default:10}}"></textarea>