diff --git a/questions.py b/questions.py index 167792f..9d745cd 100644 --- a/questions.py +++ b/questions.py @@ -41,8 +41,9 @@ class Question(dict): 'files': {}, }) - def updateAnswer(answer=None): - self['answer'] = answer + # FIXME unused. does childs need do override this? + # def updateAnswer(answer=None): + # self['answer'] = answer def correct(self): self['grade'] = 0.0 diff --git a/templates/review.html b/templates/review.html index f2c628c..d8876cb 100644 --- a/templates/review.html +++ b/templates/review.html @@ -28,23 +28,49 @@ +

{{ t['title'] }}

- {{ t.get('duration', chr(8734)) }} -
- -

+

- -
{{t['student']['name']}}
- -
{{t['student']['number']}}
+ +
{{ t.get('duration', chr(8734)) }}
-
+ + +
-- libgit2 0.21.2