fixed style
This commit is contained in:
@@ -10,7 +10,11 @@ class submit_form extends moodleform {
|
||||
//-------------------------------------------------------------------------------
|
||||
$mform->addElement('hidden', 'id', $cm->id);
|
||||
$mform->setType('id', PARAM_INT);
|
||||
$mform->addElement('textarea', 'code', get_string('programcode', 'programming'), 'rows="20" cols="90"');
|
||||
$mform->addElement('textarea', 'code', get_string('programcode', 'programming'), array(
|
||||
'rows' => 24,
|
||||
'cols' => 120,
|
||||
'class' => 'programming-code-input'
|
||||
));
|
||||
$attributes = 'onchange ="change()"';
|
||||
|
||||
$mform->addElement('select', 'language', get_string('programminglanguage', 'programming'), programming_get_language_options($programming),$attributes);
|
||||
|
||||
Reference in New Issue
Block a user