<{if $element->isMultiple() != false}>
  <select size='<{$element->getSize()}>' name='<{$element->getName()}>[]' id='<{$element->getName()}>[]' multiple='multiple' <{$element->getExtra()}>>
<{else}>
   <select size='<{$element->getSize()}>' name='<{$element->getName()}>' id='<{$element->getName()}>' <{$element->getExtra()}>>
<{/if}>
<{foreach from=$element->getOptions() key=value item=name}>
  <option value='<{$value|escape}>' <{if count($element->getValue()) > 0 && in_array($value, $element->getValue())}> selected='selected'<{/if}>><{$name}></option>
<{/foreach}>
</select>
