I have the following menu:
response.app_menu = [(CAT(SPAN('Connect', _class="btn btn-default",
_target="_blank")), False, URL())]
I want to add a Bootstrap tooltip to the button, I tried:
response.app_menu = [(CAT(SPAN('Connect', _class="btn btn-default",
_target="_blank", _data-placement="top", _data-toggle="tooltip",
_title="Business base and nxt")), False, URL())]
but this results in a
SyntaxError("keyword can't be an expression", ())
Is there a way to add a tooltip to a menu item?
KInd regards,
Annet
--
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.