diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-01-29 13:02:33 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-01-29 14:43:43 +0100 |
commit | 4f263a19224512b1bf6ed787f29afffecf1eb330 (patch) | |
tree | 43c7ebd84810199cbbff5399c9defe4a61bf920d /sqlbox/mod_form.php | |
parent | 443a3034b6c1830c48642eed43bd4526300f3779 (diff) | |
download | sqltutor-plugin-4f263a19224512b1bf6ed787f29afffecf1eb330.tar.gz sqltutor-plugin-4f263a19224512b1bf6ed787f29afffecf1eb330.tar.bz2 sqltutor-plugin-4f263a19224512b1bf6ed787f29afffecf1eb330.zip |
Use a textare for query input
Diffstat (limited to 'sqlbox/mod_form.php')
-rw-r--r-- | sqlbox/mod_form.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlbox/mod_form.php b/sqlbox/mod_form.php index c59fba7..bff0db3 100644 --- a/sqlbox/mod_form.php +++ b/sqlbox/mod_form.php @@ -61,7 +61,7 @@ class mod_sqlbox_mod_form extends moodleform_mod { // Adding the standard "intro" and "introformat" fields $this->add_intro_editor(); - $mform->addElement('text', 'query', 'SQL Query', 'size="50"'); + $mform->addElement('textarea', 'query', 'SQL Query', 'rows="15" cols="60"'); /* //------------------------------------------------------------------------------- // Adding the rest of sqlbox settings, spreeading all them into this fieldset |