<select name=zone[{$id}][service]" class="select2 services">
{foreach from=$services item="service"}
    <option value="{$service.type}::{$service.relid}"
            {if $service.domain eq $domain && !isset($selected)} {assign var="selected" value=true}selected="selected"{/if}
    >{if $service.package_name}{$service.package_name}: {/if}{$service.group_name}{if $service.domain} ({$service.domain}){/if}</option>
{/foreach}
</select>
