- Do oceny admin screen (golem15.quizzes.reviews) over the open answers, with a read-only context partial, score and comment virtual fields saved through SetScore, confirm and regrade record actions, bulk confirm - open question type, rubric and max_length in the question form; grader dropdown on the quiz form from the grader registry - Review model with quiz, status and student filters
16 lines
521 B
YAML
16 lines
521 B
YAML
name: golem15.quizzes::lang.reviews.answer
|
|
form: ~/plugins/golem15/quizzes/models/reviews/fields.yaml
|
|
modelClass: Review
|
|
defaultRedirect: golem15/quizzes/reviews
|
|
|
|
# Open answers come from students: there is no create. Saving the form
|
|
# stores the owner's score and comment, then returns to the preview.
|
|
update:
|
|
redirect: golem15/quizzes/reviews/preview/:id
|
|
redirectClose: golem15/quizzes/reviews
|
|
|
|
# The preview screen shows the answer and offers the record actions.
|
|
preview: {}
|
|
|
|
recordActions: [confirm, regrade]
|