5 lines
231 B
HTML
5 lines
231 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']}</option>
|
|
{/volist}
|
|
</select> |