Hi,
I'm trying to make a form for add a new user wich must to have a
membsership.
I'm making this, that obviously is very wrong:
def create_user():
form = SQLFORM.grid(db.auth_user)
membership_panel = LOAD(request.controller,
'create_membership.html',
ajax=True)
return dict(form=form,membership_panel=membership_panel)
def create_membership():
form = SQLFORM.grid(db.auth_membership,
searchable=False,
deletable=False,
details=False,
selectable=False,
user_signature=False,
csv=False)
return form
I need a form that gives me the option to include the membership of the
user.
Any clue?
Thank you for your help.
--
---
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.