Massimo,
it seems the reset_password and change_password forms are not adhearing
to the formstyle setting. can you review and apply the attached patch
if appropriate?
thanks,
christian
diff -r ee8db10779ad gluon/tools.py
--- a/gluon/tools.py Wed Oct 13 09:51:52 2010 -0500
+++ b/gluon/tools.py Wed Oct 13 11:44:16 2010 -0700
@@ -1908,7 +1908,8 @@
label=self.messages.verify_password,
requires=[IS_EXPR('value==%s' %
repr(request.vars.new_password),
self.messages.mismatched_password)]),
- submit_button=self.messages.submit_button
+ submit_button=self.messages.submit_button,
+ formstyle=self.settings.formstyle
)
if
form.accepts(request.post_vars,session,hideerror=self.settings.hideerror):
user.update_record(**{passfield:form.vars.new_password,
@@ -2063,7 +2064,8 @@
label=self.messages.verify_password,
requires=[IS_EXPR('value==%s' %
repr(request.vars.new_password),
self.messages.mismatched_password)]),
- submit_button=self.messages.submit_button
+ submit_button=self.messages.submit_button,
+ formstyle=self.settings.formstyle
)
if form.accepts(request.post_vars, session,
formname='change_password',