mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-17 13:54:26 +03:00
13 lines
325 B
Smarty
13 lines
325 B
Smarty
{**
|
|
* Выпадающий список
|
|
*}
|
|
|
|
{extends './field.tpl'}
|
|
|
|
{block 'field_input'}
|
|
<select {field_input_attr_common}>
|
|
{foreach $aItems as $aItem}
|
|
<option value="{$aItem.value}" {if $aItem.value == $sSelectedValue}selected{/if}>{$aItem.text}</option>
|
|
{/foreach}
|
|
</select>
|
|
{/block} |