Allow for only one item in a bucket in questions of type "przyporzadkuj"
[edumed.git] / wtem / templates / wtem / exercises / edumed_wybor.html
index ae1419d..db3d70c 100644 (file)
@@ -9,6 +9,13 @@
                 {{para}}
             </p>
         {% endfor %}
+        <span class="instruction">
+            {% if exercise.answer|length == 1 %}
+                Tylko jedna odpowiedź jest prawidłowa.
+            {% else %}
+                Zaznacz wszystkie prawidłowe odpowiedzi.
+            {% endif %}
+        </span>
     </div>
     {% endautoescape %}
 
@@ -32,7 +39,7 @@
                 </p>
             {% endfor %}
         </div>
-        <textarea style="width: 100%; margin-top:10px;" rows="10"></textarea>
+        <textarea style="width: 100%; margin-top:10px;" rows="{{exercise.open_part_rows|default:10}}"></textarea>
     </div>
     {% endif %}