MDL-77542 mod_assign: remove duplicate grade heading from grader.

It's already part of the subsequent rendered form.
This commit is contained in:
Paul Holden
2023-06-11 15:01:23 +01:00
parent 71c36d2de1
commit 7953ded152
+2 -2
View File
@@ -4117,7 +4117,7 @@ class assign {
// and show errors.
$mform->is_validated();
}
$o .= $this->get_renderer()->heading(get_string('gradenoun'), 3);
$o .= $this->get_renderer()->render(new assign_form('gradingform', $mform));
if (count($allsubmissions) > 1) {
@@ -4303,7 +4303,7 @@ class assign {
'',
array('class'=>'gradeform'));
}
$o .= $this->get_renderer()->heading(get_string('gradenoun'), 3);
$o .= $this->get_renderer()->render(new assign_form('gradingform', $mform));
if (count($allsubmissions) > 1 && $attemptnumber == -1) {