In web2py 2.14 I had the following code in menu.py
response.menu = [
(CAT(SPAN('Log in', _class="btn btn-primary")), False,
URL('controlpanel', 'default', 'user', args='login', scheme=SECURESCHEME,
host=CONTROLPANELDOMAIN)),
(CAT(SPAN('Open account', _class="btn btn-success")), False,
URL('default', 'static', args='account'))]
and in the view:
<div class="collapse navbar-collapse" id="app-navbar-collapse">
{{=MENU(response.menu)}}
</div>
In web2py 2.19 this code no longer renders the menu
<div class="collapse navbar-collapse" id="navbarSupportedContent">
{{=MENU(response.menu)}}
</div>
is being rendered as:
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="web2py-menu web2py-menu-vertical"></ul>
</div>
What's wrong with my reponse.menu code that causes it to o longer
render?
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/bef476ef-cd80-4f11-8a0f-005dd27ca718%40googlegroups.com.