mirror of
https://github.com/avecms/AVE.cms.git
synced 2025-01-22 15:30:07 +00:00
18 lines
489 B
Smarty
18 lines
489 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>
|
||
|
{assign var=field_level value="0" scope="global"}
|
||
|
{include file="$subtpl" items=$field.child}
|
||
|
{/foreach}
|
||
|
</select>
|
||
|
|
||
|
{else}
|
||
|
|
||
|
<ul class="messages">
|
||
|
<li class="highlight yellow">{#error#}</li>
|
||
|
</ul>
|
||
|
|
||
|
{/if}
|