<?php
	/**
	 * Edit the widget
	 * 
	 * @package ElggGroups
	 */
?>
<p>
	<?php echo elgg_echo('groups:widgets:entities:label:displaynum'); ?>
	
	<select name="params[limit]">
		<option value="5" <?php if ($vars['entity']->limit == 5) echo " selected=\"yes\" "; ?>>5</option>
		<option value="8" <?php if ((!$vars['entity']->limit) || ($vars['entity']->limit == 8)) echo " selected=\"yes\" "; ?>>8</option>
		<option value="12" <?php if ($vars['entity']->limit == 12) echo " selected=\"yes\" "; ?>>12</option>
		<option value="15" <?php if ($vars['entity']->limit == 15) echo " selected=\"yes\" "; ?>>15</option>
	</select>
	
	<input type="hidden" name="params[group_guid]" value="<?php echo get_input('group_guid'); ?>" />
</p>