Good catch! fixed in trunk. On Friday, 5 September 2014 08:07:42 UTC-5, Ide wrote: > > I have 2 applications which both seem to have a problem with the 'check to > delete' option in 2.9.6 and 2.9.7. The 'check to delete' label on this tick > box is now showing up as 'Check to deleteNone'. I don;t think it did this > when I was using 2.9.5, although that was a few months ago now, so I may > not remember fully. > > In both cases I am using the SQLFORM feature with the deletable=True > option and {{=BEAUTIFY(form)}} in the view. I have done a quick search in > the sqlhtml.py code, but there is no obvious typo in there to account for > it, so it seems like the None is getting added on to this label somewhere > along the line. > > My resulting html from the {{=BEAUTIFY(form)}} code is as below > > <tr id="delete_record__row"> > <td class="w2p_fl"> > <label for="delete_record" id="delete_record__label">Check to > deleteNone</label> > </td> > <td class="w2p_fw"> > <input class="delete cascade_delete" id="delete_record" name= > "delete_this_record" type="checkbox" value="on"> > </td> > <td class="w2p_fc"></td> > </tr> > > Any ideas what could be casuing it? >
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.