[web2py] Re: Bootstrap modal for insert, update and delete

2015-01-29 Thread M.C. Botha
I have tried that but it does not reload the form. -- 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

[web2py] Re: Bootstrap modal for insert, update and delete

2015-01-23 Thread Serg Syuzev
Hello! I think, You can use some jQuery "magic" for begin. In *views/comments/post.load *in line: {{=A('Edit', callback=URL('welcome', 'comments', 'get_comment', vars={'id': post.id}), target="form_load")}} for example, add before "callback": *_onclick="jQuery('#myModal').modal('show');",* ​ >

[web2py] Re: Bootstrap modal for insert, update and delete

2015-01-22 Thread Massimo Di Pierro
I think you are missing .process() form = SQLFORM(db.comment_post, r).process() On Sunday, 18 January 2015 22:58:55 UTC-6, M.C. Botha wrote: > > I would like to use a bootstrap modal to create new and update existing > records using a bootstap modal. > It works for new records but I cannot get i