Files
sentcms/app/http/form/template/bind.html
2020-04-01 22:20:11 +08:00

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>