mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-17 05:44:26 +03:00
12 lines
301 B
Smarty
12 lines
301 B
Smarty
{**
|
|
* Accordion
|
|
*}
|
|
|
|
{$component = 'accordion'}
|
|
|
|
<div class="{$component} {mod name=$component mods=$smarty.local.mods} {$smarty.local.classes}" {$smarty.local.attributes}>
|
|
{foreach $items as $item}
|
|
<h3>{$item[ 'title' ]}</h3>
|
|
<div>{$item[ 'content' ]}</div>
|
|
{/foreach}
|
|
</div> |