Smaller textarea for one of the open parts
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Fri, 8 Nov 2013 09:20:45 +0000 (10:20 +0100)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 15 Jan 2014 10:18:57 +0000 (11:18 +0100)
wtem/templates/wtem/exercises/edumed_wybor.html

index 7f86a39..db3d70c 100644 (file)
@@ -39,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 %}