Merge branch 'MDL-71434' of git://github.com/paulholden/moodle

This commit is contained in:
Víctor Déniz 2021-05-06 11:11:40 +01:00
commit c0c63b0a88

View File

@ -233,7 +233,8 @@ if ($mode == 'listtemplate'){
$field = 'listtemplateheader';
$editor->set_text($data->listtemplateheader);
$editor->use_editor($field, $options);
echo '<div><textarea id="'.$field.'" name="'.$field.'" rows="15" cols="80">'.s($data->listtemplateheader).'</textarea></div>';
echo '<div><textarea id="'.$field.'" name="'.$field.'" class="form-control" rows="15" cols="80">' .
s($data->listtemplateheader) . '</textarea></div>';
echo '</td>';
echo '</tr>';