| 1 | <select id="{$option->optionName}" name="values[{$option->optionName}]"{if $option->required} required{/if}{if $disableOptions || $enableOptions} class="jsEnablesOptions" data-is-boolean="true" data-disable-options="[ {@$disableOptions}]" data-enable-options="[ {@$enableOptions}]"{/if}> |
| 2 | {if !$allowEmptyValue|empty}<option value="">{lang}wcf.global.noSelection{/lang}</option>{/if} |
| 3 | {foreach from=$selectOptions key=key item=selectOption} |
| 4 | <option value="{$key}"{if $value == $key} selected{/if}>{lang}{@$selectOption}{/lang}</option> |
| 5 | {/foreach} |
| 6 | </select> |