5 lines
235 B
HTML
5 lines
235 B
HTML
<select class="form-control" name="{$name}" id="{$name}" style="width:auto;">
|
|
{volist name="option" id="item"}
|
|
<option value="{$item['key']}" {if $item['key'] == $value}selected{/if}>{$item['label']|raw}</option>
|
|
{/volist}
|
|
</select> |