From 4e1ae05402d6076a0a038dbac1192ad00589d343 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Wed, 15 Aug 2012 17:08:10 -0500 Subject: [PATCH] SQLFORM.formstyles, thanks Anthony --- VERSION | 2 +- gluon/sqlhtml.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 4763a852..c6411511 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-08-15 14:55:51) dev +Version 2.00.0 (2012-08-15 17:08:05) dev diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index a840e7fa..fd3f3d3d 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -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'