You can make your menu to contain links:

response.menu = 
[('name',None,A('name',_href=URL('index'),_class="btn")),....]


On Thursday, 24 July 2014 12:26:51 UTC-5, Louis Amon wrote:
>
> I'm trying to build a MENU styled with Boostrap.
>
> I'd like my <li> items to have the class "btn".
>
> How can I do that in web2py ??
>
>
> As far as I know, li_class is only applied on submenus, but not on 
> primary menu items.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to