mirror of
https://github.com/avecms/AVE.cms.git
synced 2025-01-22 15:30:07 +00:00
16 lines
389 B
Smarty
16 lines
389 B
Smarty
{if $fields && !isset($error)}
|
|
|
|
<select id="feld_{$field_id}_{$doc_id}" name="feld[{$field_id}]">
|
|
{foreach from=$fields key=key item=field name=field}
|
|
<option value="{$field.Id}" {if $field.Id == $field_value}selected="selected"{/if}>{$field.document_title}</option>
|
|
{/foreach}
|
|
</select>
|
|
|
|
{else}
|
|
|
|
<ul class="messages">
|
|
<li class="highlight yellow">{#error#}</li>
|
|
</ul>
|
|
|
|
{/if}
|