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

This commit is contained in:
Daniel Neis Araujo 2020-10-16 15:35:01 -03:00
parent 0e188470b1
commit 1346a3509a

View File

@ -854,7 +854,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';