minor indentation change
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user