I used in a different way of what you show in the app, and it works very
well!
In controller:
tabs =PEST([ ['Index', URL('default')] , ['Tab one',URL('tab1')] ])
return dict(tab=tab)
In view:
{{=tabs}}
I just suggest you:
Calling the class 'TAB' instead of 'PEST'.
Needs a way to output dynamic proper CSS
You can pack it as a plugin using plugin manager
I'll try it a little more in different kind of views, I'll give you feedback
about it.
Very Nice! Thanks
--
Bruno Rocha
http://about.me/rochacbruno/bio