On Feb 7, 2010, at 6:31 PM, mdipierro wrote: > The patch by Mr Freeze is in.
Thanks. I'll wait for a stable release, but I'll definitely use it. Some documentary comments would be nice. (BTW, the patch added trailing white space to a few lines. Bogus, I assume.) > > On Feb 7, 4:27 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: >> The patch will be in soon. ;-) >> >> On Feb 7, 4:18 pm, Jonathan Lundell <jlund...@pobox.com> wrote: >> >>> On Feb 7, 2010, at 2:06 PM, mr.freeze wrote: >> >>>> I hate this too: form[0][-1][1]. I have a pending patch that will >>>> allow you to grab parent and sibling elements so you can do: >>>>>>> form = SQLFORM(db.whatever) >>>>>>> submit = form.element(_type='submit') >>>>>>> submit.parent.append(INPUT(_type='submit',_value='Cancel')) >> >>>> A little more verbose but human readable and appending the button will >>>> stay relative to where the submit button is. >> >>>> Massimo, have you had a chance to look at this? >> >>> That would be a big improvement, yes. -- 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.