AVE.CMS v3.28
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.

17 lines
486 B

5 years ago
{if $rubrics && !isset($error)}
<select id="feld_{$field_id}_{$doc_id}" name="feld[{$field_id}]">
<option value="" {if $field_value == ''}selected="selected"{/if}>По умолчанию</option>
{foreach from=$rubrics key=key item=rubric name=rubric}
<option value="{$rubric.id}" {if $rubric.id == $field_value}selected="selected"{/if}>{$rubric.title}</option>
{/foreach}
</select>
{else}
<ul class="messages">
<li class="highlight yellow">{#error#}</li>
</ul>
{/if}