From f47339cd3d65e4f72df25cfcb39dddc223864b0e Mon Sep 17 00:00:00 2001 From: Miguel BarĂ£o Date: Wed, 8 May 2019 18:28:49 +0100 Subject: [PATCH] removes the lines option from textarea. --- aprendizations/questions.py | 2 -- aprendizations/templates/question-textarea.html | 2 +- demo/solar_system/correct-first_3_planets.py | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/aprendizations/questions.py b/aprendizations/questions.py index 2032a4e..bfea4e3 100644 --- a/aprendizations/questions.py +++ b/aprendizations/questions.py @@ -318,7 +318,6 @@ class QuestionTextArea(Question): text (str) correct (str with script to run) answer (None or an actual answer) - lines (int) ''' # ------------------------------------------------------------------------ @@ -327,7 +326,6 @@ class QuestionTextArea(Question): self.set_defaults(QDict({ 'text': '', - 'lines': 8, # FIXME unused? 'timeout': 5, # seconds 'correct': '', # trying to execute this will fail => grade 0.0 'args': [] diff --git a/aprendizations/templates/question-textarea.html b/aprendizations/templates/question-textarea.html index f7063ac..9b67248 100644 --- a/aprendizations/templates/question-textarea.html +++ b/aprendizations/templates/question-textarea.html @@ -2,7 +2,7 @@ {% block answer %} -
+