Source

tw2.jqplugins.fg / tw2 / jqplugins / fg / templates / recursive_menu.mak

Full commit
<%page args="item"/>
<li>
    <a href="${item.get('href', '#')}" id="${w.attrs['id']}:target:${item.get('key', '')}">${item.get('name', 'foo')}</a>
	% if len(item.get('children', [])) > 0:
    <ul>
	% for child in item.get('children', []):
        <%include file="recursive_menu.mak" args="item=child" />
	% endfor
	</ul>
	% endif
</li>