I'm making custom forms for all the auth stuff so that I have precise
control over the look and feel in order to make it consistent with the
rest of my site. I got a custom form working with login, but it's not
working for profile. Things look like this:
# view
form.custom.begin,
DIV(
DIV(
TABLE(
TR(
TH(form.custom.label['email']),
TD(form.custom.widget.email)),
TR(
TH(form.custom.label['user_name']),
TD(form.custom.widget.user_name)),
...
TR(
TH(),
TD(
INPUT(_type='submit',_name='profile',_value='Update My
Profile',
_class='button'))),
),
), # closes TABLE
form.custom.end
)
)
The problem is that nothing at all happens when I press the submit
button. I see the Mozilla tab showing the page being updated. But if I
leave the page and come back to it, none of the changed info have been
saved in the db. No errors or tickets are generated. I seem to be
using the same method as I was using successfully to do a custom login
form, but this time it's not working. Anybody have a clue?
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.