The help description says:
Code: Select all
{$opts = [1 => 'one', 2 => 'two']}
{html_options options=$opts selected=$sel}
Code: Select all
{cms_module module='LISEContacts' action='category' assign='opts'}
{html_options options=$opts selected=$sel}
Code: Select all
{strip}[null => '- None -',
{foreach from=$categories item=category name=cat}
{$category->category_id} => '{$category->name}'{if not $smarty.foreach.cat.last},{/if}
{/foreach}
]{/strip}
Code: Select all
<div class="lise-admin-wrapper">[null => '- None -',1 => 'Renewable',2 => 'Buildings',3 => 'Oil & Gas',4 => 'Infrastructure',5 => 'Industry',6 => 'PtX',7 => 'WTG']</div>