

<select class="form-control select2me editbs" id="stuffUpdate" data-id="{$id}" data-status="2" data-placeholder="Select User Name" required>
    <option value=""></option>
    {foreach $allusers as $user}
    <option value="{$user.user_id}" {if $user.user_id == $userid} selected {/if}>{$user.name}</option>
    {/foreach}
</select>

