summaryrefslogtreecommitdiff
path: root/sqlbox/sqlbox_form.php
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-29 13:02:33 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-29 14:43:43 +0100
commit4f263a19224512b1bf6ed787f29afffecf1eb330 (patch)
tree43c7ebd84810199cbbff5399c9defe4a61bf920d /sqlbox/sqlbox_form.php
parent443a3034b6c1830c48642eed43bd4526300f3779 (diff)
downloadsqltutor-plugin-4f263a19224512b1bf6ed787f29afffecf1eb330.tar.gz
sqltutor-plugin-4f263a19224512b1bf6ed787f29afffecf1eb330.tar.bz2
sqltutor-plugin-4f263a19224512b1bf6ed787f29afffecf1eb330.zip
Use a textare for query input
Diffstat (limited to 'sqlbox/sqlbox_form.php')
-rw-r--r--sqlbox/sqlbox_form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlbox/sqlbox_form.php b/sqlbox/sqlbox_form.php
index 19a5e93..e193c7a 100644
--- a/sqlbox/sqlbox_form.php
+++ b/sqlbox/sqlbox_form.php
@@ -9,7 +9,7 @@ class mod_sqlbox_form extends moodleform {
public function definition() {
$mform = &$this->_form;
$mform->addElement('header', 'sqlbox_general', 'SQLBox');
- $mform->addElement('text', 'sqlbox_query', 'SQL Query', 'size="50"');
+ $mform->addElement('textarea', 'sqlbox_query', 'SQL Query', 'rows="15" cols="60"');
$mform->addElement('submit', 'sqlbox_button', 'Submit');
}