improved static/js/web2py-bootstrap3.js
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
def index():
|
||||
types = ['string','text','date','time','datetime','integer','double',
|
||||
'list:string','list:integer']
|
||||
db.define_table('mytable',*[Field('f_'+t.replace(':','_'),t) for t in types])
|
||||
return dict(
|
||||
form = SQLFORM(db.mytable).process(),
|
||||
grid = SQLFORM.grid(db.mytable),
|
||||
)
|
||||
Reference in New Issue
Block a user