]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #5834. Wrapping input with label to prevent line break.
authorBrett Profitt <brett.profitt@gmail.com>
Thu, 18 Jul 2013 21:33:16 +0000 (17:33 -0400)
committerBrett Profitt <brett.profitt@gmail.com>
Thu, 18 Jul 2013 21:33:16 +0000 (17:33 -0400)
views/default/input/userpicker.php

index 91a397e3703f16954bfe77f81b21dc601eaf311f..8b64d7df5daf13846b549c1f0b2d8bb65bceccb0 100644 (file)
@@ -63,11 +63,13 @@ foreach ($vars['value'] as $user_id) {
 ?>
 <div class="elgg-user-picker">
        <input type="text" class="elgg-input-user-picker" size="30"/>
-       <input type="checkbox" name="match_on" value="true" />
-       <label><?php echo elgg_echo('userpicker:only_friends'); ?></label>
+       <label>
+               <input type="checkbox" name="match_on" value="true" />
+               <?php echo elgg_echo('userpicker:only_friends'); ?>
+       </label>
        <ul class="elgg-user-picker-list"><?php echo $user_list; ?></ul>
 </div>
 <script type="text/javascript">
        // @todo grab the values in the init function rather than using inline JS
        elgg.userpicker.userList = <?php echo $json_values ?>;
-</script>
\ No newline at end of file
+</script>