revert previous change due to the global implications
This commit is contained in:
1 parent
2a27563f30
commit
824cc10aa0
1 file changed
+2
-4
+2
-4
@@ -971,8 +971,6 @@ class SQLFORM(FORM):
|
|||||||
inline=formstyle_inline,
|
inline=formstyle_inline,
|
||||||
)
|
)
|
||||||
|
|
||||||
default_formstyle='table3cols'
|
|
||||||
|
|
||||||
FIELDNAME_REQUEST_DELETE = 'delete_this_record'
|
FIELDNAME_REQUEST_DELETE = 'delete_this_record'
|
||||||
FIELDKEY_DELETE_RECORD = 'delete_record'
|
FIELDKEY_DELETE_RECORD = 'delete_record'
|
||||||
ID_LABEL_SUFFIX = '__label'
|
ID_LABEL_SUFFIX = '__label'
|
||||||
@@ -1015,7 +1013,7 @@ class SQLFORM(FORM):
|
|||||||
keepopts=[],
|
keepopts=[],
|
||||||
ignore_rw=False,
|
ignore_rw=False,
|
||||||
record_id=None,
|
record_id=None,
|
||||||
formstyle=None,
|
formstyle='table3cols',
|
||||||
buttons=['submit'],
|
buttons=['submit'],
|
||||||
separator=': ',
|
separator=': ',
|
||||||
extra_fields=None,
|
extra_fields=None,
|
||||||
@@ -1024,7 +1022,7 @@ class SQLFORM(FORM):
|
|||||||
T = current.T
|
T = current.T
|
||||||
|
|
||||||
self.ignore_rw = ignore_rw
|
self.ignore_rw = ignore_rw
|
||||||
self.formstyle = formstyle or SQLFORM.default_formstyle
|
self.formstyle = formstyle
|
||||||
self.readonly = readonly
|
self.readonly = readonly
|
||||||
# Default dbio setting
|
# Default dbio setting
|
||||||
self.detect_record_change = None
|
self.detect_record_change = None
|
||||||
|
|||||||
Reference in new issue
Block a user