This works:
{{for ticket in tickets:}}
{{a=PluginMModal(title='Hello World',content=crud.update(db.t_ticket,
ticket.id),close='close',width=40,height=80)}}
{{=a}}
{{=a.link(H1('SEE MODAL WINDOW'))}}
{{pass}}
Kenneth
On 19.7.2011 11:21, Kenneth Lundström wrote:
I have never used crud with
I have never used crud with mmodal, but I have used SQLFORM with it.
I guess you have read:
http://groups.google.com/group/web2py/browse_thread/thread/809bf7eb5072651f/90ecd2c59b3dacc6?lnk=gst&q=mmodal#90ecd2c59b3dacc6
Instead of:
{{a=PluginMModal(title='Hello World',content='give this a
try!',c
bump.
No takers? :s
On Jul 16, 8:23 am, niknok wrote:
> I just "discovered" this modal plugin: web2py.com/plugins/default/
> mmodal
>
> Sorry for being a little slow, but would someone please post an
> example of how I can use crud inside modals?
3 matches
Mail list logo