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.
18 lines
489 B
18 lines
489 B
7 years ago
|
{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}
|