In my controller, I'm using:
def inventory():
form = SQLFORM.smartgrid(db.equipment,onupdate=auth.archive)
return locals()
In my view:
{{extend 'layout.html'}}
<h2>Inventory</h2><p>{{=form}}</p>
I thought that the smartgrid would give me "add" "edit" "delete" and "view"
buttons, but I am only getting a "view" button...
When I very very first installed web2py and made this function, I was sure
that I had those buttons, but now they are gone, am I doing something
wrong, have I deleted some code that adds these?
Thanks!!
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.