diff --git a/course/renderer.php b/course/renderer.php index d43d15ca2ada..2206a5e22b14 100644 --- a/course/renderer.php +++ b/course/renderer.php @@ -208,10 +208,10 @@ public function course_modchooser($modules, $course) { $formcontent .= html_writer::end_tag('div'); // types $formcontent .= html_writer::start_tag('div', array('class' => 'submitbuttons')); - $formcontent .= html_writer::tag('input', '', - array('type' => 'submit', 'name' => 'addcancel', 'id' => 'addcancel', 'value' => get_string('cancel'))); $formcontent .= html_writer::tag('input', '', array('type' => 'submit', 'name' => 'submitbutton', 'id' => 'submitbutton', 'value' => get_string('add'))); + $formcontent .= html_writer::tag('input', '', + array('type' => 'submit', 'name' => 'addcancel', 'id' => 'addcancel', 'value' => get_string('cancel'))); $formcontent .= html_writer::end_tag('div'); $formcontent .= html_writer::end_tag('form');