summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-31 08:57:13 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-31 08:57:13 +0000
commit3d8164353f0150c6c0edbdcccba12dd3f6699d10 (patch)
tree784adc1cb3808e1b0b696ed909aa36acd8dba83e
parent38cf6ca403b485644405b8ec39af334a877e58b2 (diff)
Put the checkbox back inside the <label> so that clicking on the text selects the checkbox.
-rw-r--r--modules/forge/libraries/Form_Checkbox.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/forge/libraries/Form_Checkbox.php b/modules/forge/libraries/Form_Checkbox.php
index 23b423b4..2fe8af84 100644
--- a/modules/forge/libraries/Form_Checkbox.php
+++ b/modules/forge/libraries/Form_Checkbox.php
@@ -68,7 +68,7 @@ class Form_Checkbox_Core extends Form_Input {
$label = ' '.ltrim($label);
}
- return '<label>'.$label.'</label>'.form::input($data);
+ return '<label>'.$label.form::input($data).'</label>';
}
protected function load_value()