Files
sm-quizzes-plugin/models/questions/fields.yaml
Jakub Zych 2ad4e8b1ec feat: review open answers in the admin and pick a grader per quiz
- 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
2026-11-09 18:31:19 +01:00

57 lines
1.7 KiB
YAML

fields:
quiz:
label: golem15.quizzes::lang.questions.quiz
type: relation
nameFrom: title
span: left
required: true
type:
label: golem15.quizzes::lang.questions.type
type: dropdown
span: right
required: true
default: single
options:
single: golem15.quizzes::lang.questions.type_single
multiple: golem15.quizzes::lang.questions.type_multiple
self_check: golem15.quizzes::lang.questions.type_self_check
open: golem15.quizzes::lang.questions.type_open
text:
label: golem15.quizzes::lang.questions.text
type: textarea
size: small
required: true
category:
label: golem15.quizzes::lang.questions.category
type: text
span: left
points:
label: golem15.quizzes::lang.questions.points
type: number
span: right
default: 1
required: true
answer_text:
label: golem15.quizzes::lang.questions.answer_text
type: textarea
size: small
comment: golem15.quizzes::lang.questions.answer_text_comment
rubric:
label: golem15.quizzes::lang.questions.rubric
type: textarea
size: small
comment: golem15.quizzes::lang.questions.rubric_comment
max_length:
label: golem15.quizzes::lang.questions.max_length
type: number
span: left
comment: golem15.quizzes::lang.questions.max_length_comment
explanation:
label: golem15.quizzes::lang.questions.explanation
type: textarea
size: small
sort_order:
label: golem15.quizzes::lang.common.sort_order
type: number
span: left