mirror of https://github.com/avecms/AVE.cms.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
381 B
12 lines
381 B
{if $items} |
|
<select name="feld[{$field_id}]" style="width: 400px;"> |
|
<option value="" > </option> |
|
{foreach from=$items key=key item=item} |
|
<option value="{$key|trim|escape}" {if $key|trim|escape == $field_value}selected="selected"{/if}>{$item|trim|escape}</option> |
|
{/foreach} |
|
</select> |
|
{else} |
|
<ul class="messages"> |
|
<li class="highlight yellow">{#no_items#}</li> |
|
</ul> |
|
{/if} |