I dont know if its because i added the {{else:}} statement but its working
now, thank you @ Константин Комков
On Wednesday, June 26, 2019 at 8:48:59 PM UTC+2, Константин Комков wrote:
>
> Check that your conditions and pass quantity coincides. Becouse your code
> correct work in my app. Also you can do like that:
> {{if auth.user:}}
> <!-- your content -->
> {{else:}}
> <span class="textContainer">PLEASE LOG IN FIRST TO BE ABLE TO GET THE
> MENU & BUY</span>
> {{pass}}
>
>
>
--
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/f91eca6b-387f-4782-a46e-789ca97eac9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.