]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Label wraps checkbox for usability
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 12 Feb 2011 21:11:44 +0000 (21:11 +0000)
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 12 Feb 2011 21:11:44 +0000 (21:11 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8173 36083f99-b078-4883-b0ff-0f9b5a30f544

views/default/input/checkboxes.php

index 16d13ef6672a7a0e418cb84329ecf1d7190f7b25..f501ea36ecb817138cf2bd7ed5640b125d0fdc7c 100644 (file)
@@ -76,7 +76,7 @@ if ($options && count($options) > 0) {
                
                $input = elgg_view('input/checkbox', $input_vars);
 
-               echo "<li>{$input}<label>{$label}</label></li>";
+               echo "<li><label>{$input}{$label}</label></li>";
        }
        echo '</ul>';
 }
\ No newline at end of file