Re: [web2py] Re: Login form password widget chaned

2012-11-30 Thread Anthony
Looks like this was done so the entropy-checking Javascript script element could be appended to the CAT (i.e., right after the INPUT element). Note, the original INPUT element is still there (inside the CAT element), so you should still be able to add a placeholder with a slight adjustment to yo

Re: [web2py] Re: Login form password widget chaned

2012-11-30 Thread Niphlod
you need to apply that to the INPUT and not the tag CAT. The Password widget if there is an IS_STRONG validator now "translates" to CAT with the INPUT followed by a SCRIPT. Don't know how did you placed your placeholders, but I bet this form.elements('#auth_user_email')[0]['_placeholder']='placeh

Re: [web2py] Re: Login form password widget chaned

2012-11-30 Thread Felipe Meirelles
Well, and is there possible to set his placeholder this way? On Fri, Nov 30, 2012 at 2:31 PM, Niphlod wrote: > yep, now it carries the script to enable the entropy color codes. > > Il giorno venerdì 30 novembre 2012 17:21:15 UTC+1, Felipe Meirelles ha > scritto: >> >> def index(): >> form =

Re: [web2py] Re: Login form password widget chaned

2012-11-30 Thread Niphlod
yep, now it carries the script to enable the entropy color codes. Il giorno venerdì 30 novembre 2012 17:21:15 UTC+1, Felipe Meirelles ha scritto: > > def index(): > form = auth() > logging.info(form.custom) > > , > 'widget': , > 'id': '', 'email': }>, 'end': > , 'linkto': , 'begin': >

Re: [web2py] Re: Login form password widget chaned

2012-11-30 Thread Felipe Meirelles
def index(): form = auth() logging.info(form.custom) , 'widget': , 'id': '', 'email': }>, 'end': , 'linkto': , 'begin': , 'submit': , 'label': , 'deletable': '', 'inpval': , 'dspval': , 'id': , 'email': }>}> That password widget used to be a gluon.html.INPUT same as email but now it is a

[web2py] Re: Login form password widget chaned

2012-11-30 Thread Massimo Di Pierro
What change are you referring to? Can you provide more details? On Friday, November 30, 2012 9:01:18 AM UTC-6, Felipe Meirelles wrote: > > Did you changed the password widget on the login form from INPUT to CAT? > Is there a reason to this change? > > I had a placeholder on it and since DIVs dont