minor indentation change

This commit is contained in:
mdipierro
2012-10-04 21:45:25 -05:00
parent 3841025ffc
commit 1f07dc517e
2 changed files with 14 additions and 11 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.0.9 (2012-10-04 20:38:49) dev
Version 2.0.9 (2012-10-04 21:45:11) dev
+13 -10
View File
@@ -1825,16 +1825,19 @@ class SQLFORM(FORM):
table = db[request.args[-2]]
record = table(request.args[-1]) or redirect(URL('error'))
sqlformargs.update(editargs)
update_form = SQLFORM(table, record, upload=upload, ignore_rw=ignore_rw,
formstyle=formstyle, deletable=deletable,
_class='web2py_form',
submit_button=T('Submit'),
delete_label=T('Check to delete'),
**sqlformargs)
update_form.process(formname=formname,
onvalidation=onvalidation,
onsuccess=onupdate,
next=referrer)
update_form = SQLFORM(
table,
record, upload=upload, ignore_rw=ignore_rw,
formstyle=formstyle, deletable=deletable,
_class='web2py_form',
submit_button=T('Submit'),
delete_label=T('Check to delete'),
**sqlformargs)
update_form.process(
formname=formname,
onvalidation=onvalidation,
onsuccess=onupdate,
next=referrer)
res = DIV(buttons(view=details, record=record),
update_form, formfooter, _class=_class)
res.create_form = create_form