1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-24 18:04:43 +02:00

Merge branch 'wip-MDL-41648' of https://github.com/dg711/moodle

This commit is contained in:
David Monllao 2016-03-08 15:32:17 +08:00
commit f084c4b231
2 changed files with 2 additions and 2 deletions
grade/grading/form

@ -137,7 +137,7 @@ class moodlequickform_guideeditor extends HTML_QuickForm_input {
$html .= $renderer->display_regrade_confirmation($this->getName(), $this->regradeconfirmation, $data['regrade']);
}
if ($this->validationerrors) {
$html .= html_writer::div($renderer->notification($this->validationerrors, 'error'), '', array('role' => 'alert'));
$html .= html_writer::div($renderer->notification($this->validationerrors), '', array('role' => 'alert'));
}
$html .= $renderer->display_guide($data['criteria'], $data['comments'], $data['options'], $mode, $this->getName());
return $html;

@ -141,7 +141,7 @@ class MoodleQuickForm_rubriceditor extends HTML_QuickForm_input {
$html .= $renderer->display_regrade_confirmation($this->getName(), $this->regradeconfirmation, $data['regrade']);
}
if ($this->validationerrors) {
$html .= html_writer::div($renderer->notification($this->validationerrors, 'error'), '', array('role' => 'alert'));
$html .= html_writer::div($renderer->notification($this->validationerrors), '', array('role' => 'alert'));
}
$html .= $renderer->display_rubric($data['criteria'], $data['options'], $mode, $this->getName());
return $html;