From 18ee82e7e3ce75105fc318017e406248ac934f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20B=C3=B6sch?= Date: Fri, 10 May 2024 09:34:23 +0200 Subject: [PATCH] MDL-81865 mod_quiz: Display modal for 'Add random question' as mform. This is a backport of MDL-81713. --- .../add_random_question_form.mustache | 46 ++++++++++++------- 1 file changed, 29 insertions(+), 17 deletions(-) diff --git a/mod/quiz/templates/add_random_question_form.mustache b/mod/quiz/templates/add_random_question_form.mustache index db175ae146f..5cf4e428c1b 100644 --- a/mod/quiz/templates/add_random_question_form.mustache +++ b/mod/quiz/templates/add_random_question_form.mustache @@ -50,7 +50,7 @@ } }}
-
+
{{#str}} randomfromexistingcategory, mod_quiz {{/str}} @@ -78,23 +78,35 @@
{{#str}} randomquestionusinganewcategory, mod_quiz {{/str}} - - +
+
+ +
+
+ +
+
- - - {{#questioncategoryhelp}} - {{>core/help_icon}} - {{/questioncategoryhelp}} - + +
+
+ + {{#questioncategoryhelp}} + {{>core/help_icon}} + {{/questioncategoryhelp}} +
+
+ +
+