aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/userpicker.php
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2013-07-18 17:33:16 -0400
committerBrett Profitt <brett.profitt@gmail.com>2013-07-18 17:33:16 -0400
commitc09b6c3b91fb46c9816af3bc54a02670bcc6567a (patch)
treeb78a75482fd2d75b544f27861a9bb25968b56252 /views/default/input/userpicker.php
parent41d17c18bd2e1428c825b330ac5e6424736e44c1 (diff)
downloadelgg-c09b6c3b91fb46c9816af3bc54a02670bcc6567a.tar.gz
elgg-c09b6c3b91fb46c9816af3bc54a02670bcc6567a.tar.bz2
Fixes #5834. Wrapping input with label to prevent line break.
Diffstat (limited to 'views/default/input/userpicker.php')
-rw-r--r--views/default/input/userpicker.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/views/default/input/userpicker.php b/views/default/input/userpicker.php
index 91a397e37..8b64d7df5 100644
--- a/views/default/input/userpicker.php
+++ b/views/default/input/userpicker.php
@@ -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>