MDL-70134 manual grading: make starting comment box size 3 lines

I am guessing most comments are short, and the box can be expanded if needed.
This commit is contained in:
Tim Hunt
2021-01-18 09:13:56 +00:00
parent c381757f2a
commit f0934f6db9
+1 -1
View File
@@ -101,7 +101,7 @@ abstract class qbehaviour_renderer extends plugin_renderer_base {
question_utils::get_filepicker_options($options->context, $draftitemid));
$commenteditor = html_writer::tag('div', html_writer::tag('textarea', s($commenttext),
array('id' => $id, 'name' => $inputname, 'rows' => 10, 'cols' => 60)));
array('id' => $id, 'name' => $inputname, 'rows' => 3, 'cols' => 60)));
$attributes = ['type' => 'hidden', 'name' => $draftitemareainputname, 'value' => $draftitemid];
$commenteditor .= html_writer::empty_tag('input', $attributes);