<div class="exercise exercise-wtem prawdafalsz" data-type="prawdafalsz" data-id="{{exercise.id}}">
- {% include "wtem/exercises/exercise_no.html" %}
+ {% if no %}
+ {% include "wtem/exercises/exercise_no.html" %}
+ {% endif %}
<div class="question" data-no="1">
<div class="description">
<div class="exercise exercise-wtem przyporzadkuj" data-type="przyporzadkuj" data-id="{{exercise.id}}">
- {% include "wtem/exercises/exercise_no.html" %}
+ {% if no %}
+ {% include "wtem/exercises/exercise_no.html" %}
+ {% endif %}
<div class="question" data-no="1">
<div class="exercise exercise-wtem uporzadkuj" data-type="uporzadkuj" data-id="{{exercise.id}}">
- {% include "wtem/exercises/exercise_no.html" %}
+ {% if no %}
+ {% include "wtem/exercises/exercise_no.html" %}
+ {% endif %}
<div class="question" data-no="1">
<div class="description">
<div class="exercise exercise-wtem wybor" data-type="wybor" data-id="{{exercise.id}}">
- {% include "wtem/exercises/exercise_no.html" %}
+ {% if no %}
+ {% include "wtem/exercises/exercise_no.html" %}
+ {% endif %}
+
{% autoescape off %}
<div class="description">
{% for para in exercise.description %}
<div class="exercise exercise-wtem wybor" data-type="wybor" data-id="{{exercise.id}}">
- {% include "wtem/exercises/exercise_no.html" %}
+ {% if no %}
+ {% include "wtem/exercises/exercise_no.html" %}
+ {% endif %}
{% autoescape off %}
<div class="description">
{% for para in exercise.description %}
<div class="exercise-wtem" data-type="file" data-id="{{exercise.id}}">
- {% include "wtem/exercises/exercise_no.html" %}
+ {% if no %}
+ {% include "wtem/exercises/exercise_no.html" %}
+ {% endif %}
<div class="description">
{% for para in exercise.description %}
<div class="exercise-wtem" data-type="open" data-id="{{exercise.id}}">
- {% include "wtem/exercises/exercise_no.html" %}
+ {% if no %}
+ {% include "wtem/exercises/exercise_no.html" %}
+ {% endif %}
<div class="description">
{% autoescape off %}
<form method="post">
+{% include 'wtem/exercises/exercise_no.html' %}
{% cache 300 wtem exercise.id %}
{% with 'wtem/exercises/'|add:exercise.type|add:'.html' as template_name %}
-{% include template_name with exercise=exercise %}
+{% include template_name with exercise=exercise no='' %}
{% endwith %}
{% endcache %}