Handle justified MCQ in admin and sync part

This commit is contained in:
nemunaire 2018-11-21 04:40:32 +01:00 committed by Pierre-Olivier Mercier
commit d7553f0392
4 changed files with 59 additions and 25 deletions

View file

@ -38,7 +38,7 @@ type ExerciceFlag struct {
// ExerciceFlagMCQChoice holds a choice for an MCQ flag.
type ExerciceFlagMCQChoice struct {
Label string
Value bool `toml:",omitempty"`
Value interface{} `toml:",omitempty"`
}
// ExerciceFlagMCQ holds information about a MCQ flag.