Re: [web2py] menu and drop down menu

2012-05-31 Thread Annet
Hi Richard, Thanks for your reply. I think there is one {{pass}} missing for the else: That's what I thought, however, it was the dropdown-menu ul I messed up, it missed a closing tag. Kind regards, Annet

Re: [web2py] menu and drop down menu

2012-05-31 Thread Richard Vézina
I think there is one {{pass}} missing for the else: Richard On Thu, May 31, 2012 at 2:57 AM, Annet wrote: > In a view site/menu.html I have the following code to generate a menu with > drop down menus. > > > > {{for _name,_active,_link in session.site_menu:}} > {{if session['%sDro

[web2py] menu and drop down menu

2012-05-30 Thread Annet
In a view site/menu.html I have the following code to generate a menu with drop down menus. {{for _name,_active,_link in session.site_menu:}} {{if session['%sDropdown' % _name]:}} {{=_name}} {{for _name,_active,_link in session['%sD