Hi,is there a way to use auth.requires_membership('admin') in templates? i tried :
{{if auth.requires_membership('admin'):}}
<a href="{{=URL(c='admin')}}">Admin</a>
{{pass}}
because :
print auth.requires_membership('admin')
<function decorator at 0x38ddc08>
How can i use auth.* ACs in templates?
thanks.
--
Vincenzo Ampolo
http://vincenzo-ampolo.net
http://goshawknest.wordpress.com

