1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-17 05:44:26 +03:00
ifhub.club/application/frontend/skin/developer/components/accordion/accordion.tpl
2014-10-25 14:15:11 +07:00

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>