Thanks that seems to have worked. This was totally undocumented (or if it 
was, it was in an obscure place because I looked quite hard for how to do 
this.) What does that XML("<%s %s>" % (form.tag, form._xml()[0])) line do 
exactly?
Also, say I want to style the button now...how can I do that?

On Wednesday, August 15, 2012 6:51:12 AM UTC+1, shartha wrote:
>
> Hello, 
> Quick question:
> Instead of {{=auth.login()}}, I am using the following to be able to 
> customize my login form. However the resulting form does not work and I 
> cannot login with the same username/password that enable me to login if I 
> had used {{=auth.login()}} -- I get the flash error: Invalid Login.
>
> Could someone please tell me what's possibly going wrong? Thanks!
>
> {{form=auth.login()}}
> {{=form.custom.begin}} 
> Username:
> {{=form.custom.widget.username}}
> </br>
> Password:
> {{=form.custom.widget.password}}
> {{=form.custom.submit}} 
> {{=form.custom.end}} 
>

-- 



Reply via email to