[web2py] Delete confirmation popup

2017-03-27 Thread Winter Kryz
Hello Everybody, I hope someone can help me, I have a table full of records from a data base, each row has a delete button so what I want to do is to show a "Yes/No" Javascript popup to confirm the delete action. So far what I did is: *** controller *** def Person(): person = db(db.Person

[web2py] Delete confirmation

2016-08-27 Thread Winter Kryz
Hello everybody, I have a Datatable filled with registers from a database and for each row I have a 'delete' button, what I'm trying to do is display a modal (bootstrap) delete confirmation (yes/no) but I don't know how to pass the id of that particular register so I can delete from the databas