improved static/js/web2py-bootstrap3.js

This commit is contained in:
mdipierro
2015-03-10 22:18:42 -05:00
parent ac24ce446e
commit a2060eedce
6 changed files with 254 additions and 235 deletions
@@ -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),
)