MDL-69966 quiz: start attempt button should be a primary button

This commit is contained in:
Daniel Neis Araujo
2022-01-17 13:54:01 -03:00
parent a59bec2a6f
commit 48fac357b6
+1 -1
View File
@@ -859,7 +859,7 @@ class mod_quiz_renderer extends plugin_renderer_base {
'quiz_access_manager::get_preflight_check_form, not a warning message string.');
}
$button = new single_button($url, $buttontext);
$button = new single_button($url, $buttontext, 'post', true);
$button->class .= ' quizstartbuttondiv';
if ($popuprequired) {
$button->class .= ' quizsecuremoderequired';