Closed PhilippImhof closed 12 months ago
@dbauer-ets Would you mind having a look at this and do some testing? (Please note that this will change the database by adding a new column to qtype_formulas_answers
, so you'll probably want to do it on a testing instance.)
I will add an automated acceptance test for the functionality, so this is not yet fully ready to be merged.
It's now ready for your review. (The behat test won't need review IMHO.)
The failing checks are not related to this change. There seems to be a problem with mobile behat tests in the CI currently. They work fine locally, though.
As discussed in #95, this will add an option to the edit form:
Now, the teacher can define (for each part) whether there are multiple answers or not. Depending on the setting, the student will see "One possible correct answer is:" or "The correct answer is:" when reviewing their question attempt.
For old questions, the default will remain as it was, i. e. the more general text is used.