Hello,

I have a select crud, with a URL in the column id.

If I click 'edit', I should be redirected to a page, where I can
update the concerned contact_part record.
(as in a grid)

What should I put between the URL brackets ?  _href=URL(????)

How do I pass the selected record ?


My code :

table=db.contact_part
db.contact_part.id.represent = lambda id, row:
A('edit',_href=URL(????))
query = (db.contact_part.contact==session.contactID)
form3 =
crud.select(table,query,fields=['contact_part.subject','contact_part.tags','contact_part.id'])

Thanks

Mathias

Reply via email to