[web2py] Re: Allow to add new record from formdropdown list

2018-04-05 Thread greenpoise
nevermind. Figured this one out. It does take you away from the page though. Or so it seams like. On Wednesday, April 4, 2018 at 4:33:15 PM UTC-7, greenpoise wrote: > > how can I test this? I tried following your example. Trying to accomplish > the same. Thanks > > On Thursday, March 22, 2018 a

[web2py] Re: Allow to add new record from formdropdown list

2018-04-04 Thread greenpoise
how can I test this? I tried following your example. Trying to accomplish the same. Thanks On Thursday, March 22, 2018 at 3:33:29 AM UTC-7, 黄祥 wrote: > > perhaps you can do it with bootstrap modal (in views) and dal table > constructor comment > *e.g. (not tested)* > *models/db.**py* > db.Firmwa

[web2py] Re: Allow to add new record from formdropdown list

2018-03-22 Thread 黄祥
perhaps you can do it with bootstrap modal (in views) and dal table constructor comment *e.g. (not tested)* *models/db.**py* db.Firmware.DeviceID.comment = A(_class="glyphicon glyphicon-plus-sign", **{ "_data-toggle":"modal", "_data-target":"#modal_device"} ) *controllers**/default.**py* def moda