minor indentation change
This commit is contained in:
1 parent
3841025ffc
commit
1f07dc517e
2 files changed
+6
-3
No files matched your search
@@ -1 +1 @@
|
|||||||
Version 2.0.9 (2012-10-04 20:38:49) dev
|
Version 2.0.9 (2012-10-04 21:45:11) dev
|
||||||
+5
-2
@@ -1825,13 +1825,16 @@ class SQLFORM(FORM):
|
|||||||
table = db[request.args[-2]]
|
table = db[request.args[-2]]
|
||||||
record = table(request.args[-1]) or redirect(URL('error'))
|
record = table(request.args[-1]) or redirect(URL('error'))
|
||||||
sqlformargs.update(editargs)
|
sqlformargs.update(editargs)
|
||||||
update_form = SQLFORM(table, record, upload=upload, ignore_rw=ignore_rw,
|
update_form = SQLFORM(
|
||||||
|
table,
|
||||||
|
record, upload=upload, ignore_rw=ignore_rw,
|
||||||
formstyle=formstyle, deletable=deletable,
|
formstyle=formstyle, deletable=deletable,
|
||||||
_class='web2py_form',
|
_class='web2py_form',
|
||||||
submit_button=T('Submit'),
|
submit_button=T('Submit'),
|
||||||
delete_label=T('Check to delete'),
|
delete_label=T('Check to delete'),
|
||||||
**sqlformargs)
|
**sqlformargs)
|
||||||
update_form.process(formname=formname,
|
update_form.process(
|
||||||
|
formname=formname,
|
||||||
onvalidation=onvalidation,
|
onvalidation=onvalidation,
|
||||||
onsuccess=onupdate,
|
onsuccess=onupdate,
|
||||||
next=referrer)
|
next=referrer)
|
||||||
|
|||||||
Reference in new issue
Block a user