cannot tell without looking at it

On Sep 9, 9:54 pm, eddwinston <[email protected]> wrote:
> Hi Massimo,
>
> From the code I wrote, I took off the "{{pass}}" line and it worked.
> It is strange because I thought that block was supposed to end in
> {{pass}}
>
> On Sep 9, 9:46 pm, mdipierro <[email protected]> wrote:
>
> > This is an html issue. look at the generate html. Perhaps there are
> > unmatched tags in 'mini_login.html'?
>
> > On Sep 9, 12:54 pm, eddwinston <[email protected]> wrote:
>
> > > Hi,
>
> > > I am trying to control when and show login form on a page. I have a
> > > login form that is displayed on the side of the page is user is not
> > > logged in and if the user actually goes the the login page (not the
> > > login form by the side of the page). It causes problem because there
> > > will be login form in the page and as a result of that the login does
> > > not work. I tried to add an  "if" to hide the side login form if the
> > > user is in the actual login page like this:
>
> > >    {{if request.function is not 'user' and request.args and
> > > request.args[0] is not 'login':}}
> > >    {{include 'mini_login.html'}}
> > >    {{pass}}
>
> > > Its seems to work fine but if I actually go the the login page, the
> > > page layout is screwed up. Help please
>
> > > Thanks in advance
> > > Winston
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to