If you do it this way it will display but I am not sure it works properly. On Dec 10, 4:50 am, "hamdy.a.farag" <hamdy.a.fa...@inbox.com> wrote: > what I can't understand actually is that : > > using latest svn version and removing lines : > > ''' > if self.settings.login_captcha != None: > form[0].insert(-1, TR('', self.settings.login_captcha, > ''))''' > "" > > from tools.py > > I managed to have ed's code running : > > so something like this : > > if request.args(0) == 'login': > from gluon.tools import Recaptcha > form = auth.login() > form[0].insert(-1, TR('', Recaptcha(request, 'pub', > 'private')) > form[0][-1][1].append(INPUT > (_type='button',_value='Cancel',_onclick="window.location='%s';"%URL > (r=request,f='index'))) > return dict(form=form) > > is working , regardless of the fact that I inserted Recaptcha field > afteter form = auth.login() > did I get it wrong ?
-- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.