Maybe yes! I workaround it by adding : <ul class="nav"><li class="divider-vertical"></li></ul>
<div class="nav-collapse"> *<ul class="nav"><li class="divider-vertical"></li></ul>* {{is_mobile=request.user_agent().is_mobile}} {{if response.menu:}} {{=MENU(response.menu, _class='mobile-menu nav' if is_mobile else 'nav',mobile=is_mobile,li_class='dropdown',ul_class='dropdown-menu')}} {{pass}} Richard On Tue, Oct 2, 2012 at 2:40 PM, Niphlod <niph...@gmail.com> wrote: > at that point isn't it better to wrap up your own menu serialization? > > On Tuesday, October 2, 2012 6:34:32 PM UTC+2, Richard wrote: >> >> Hello, >> >> Here html example of menu with bootstrap : >> >> <div class="nav-collapse"> >> <ul class="nav"> >> *<li class="divider-vertical"></li>* >> *<li class="active">*<a href="#"><i class="icon-home"></i> >> Accueil</a>*</li>* >> >> <ul class="nav"> >> >> I found it very difficult to generate menu with the li in bold in the >> example above with MENU and response.menu, since li_class doesn't allow >> enough flexibility. >> >> I don't think we can pass _class attribute in reponse.menu tuple, but it >> could help a lot in order to allow greater flexibility in the usage and >> integration with bootstrap. >> >> Richard >> > -- > > > > --