SQLFORM.formstyles, thanks Anthony

This commit is contained in:
mdipierro
2012-08-15 17:08:10 -05:00
parent 4e02406b61
commit 4e1ae05402
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.00.0 (2012-08-15 14:55:51) dev
Version 2.00.0 (2012-08-15 17:08:05) dev
+1 -1
View File
@@ -1080,7 +1080,7 @@ class SQLFORM(FORM):
def createform(self, xfields):
if isinstance(self.formstyle, basestring):
if self.formstyle in self.formstyles:
self.formstyle = self.formstyles[self.formstyle]
self.formstyle = SQLFORM.formstyles[self.formstyle]
else:
raise RuntimeError, 'formstyle not found'