This is the part of html in my layout.html

{{if auth.is_logged_in():}}
<div class="dropdown pull-right">
<button data-toggle="dropdown" class="btn btn-default navbar-btn">
<span class="glyphicon
glyphicon-user"></span>&nbsp;&nbsp;{{=auth.user.first_name}}&nbsp;{{=auth.user.last_name}}&nbsp;&nbsp;<span
class="caret"></span>
</button>
<ul aria-labelledby="dropdown" role="menu" class="dropdown-menu">
<li role="presentation"><a role="menuitem" tabindex="-1"
href="{{=URL('default', 'user', args='logout')}}">{{=T('Logout')}}</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1"
href="{{=URL('default', 'user', args='profile')}}">{{=T('Edit
profile')}}</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1"
href="{{=URL('default', 'user', args='change_password')}}">{{=T('Change
password')}}</a></li>
</ul>
</div>
{{pass}}

It fails to work only at views where i have SQLFORM.grid

2014-12-29 16:40 GMT+01:00 Jim S <j...@qlf.com>:

> Can you show some code?
>
>
> -Jim
>
>
> On Monday, December 29, 2014 8:30:31 AM UTC-6, Yebach wrote:
>>
>> Hello
>>
>> My navbar user button does not show dropdown options when I am in a view
>> where SQLFORM.grid is?
>>
>> Any suggestions why?
>>
>>  --
> 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/sjQoTm-XHgw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Lep pozdrav

Vid Ogris

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to