diff --git a/browser/form.py b/browser/form.py index c3fb02a..3f265b7 100644 --- a/browser/form.py +++ b/browser/form.py @@ -172,7 +172,7 @@ class EditObject(FormController): form = self.request.form ti = IType(obj).typeInterface if ti is not None: - adapted = IType(obj).typeInterface(obj) + adapted = ti(obj) else: adapted = obj for k in form.keys(): diff --git a/browser/loops.css b/browser/loops.css index 60c1526..813d253 100644 --- a/browser/loops.css +++ b/browser/loops.css @@ -7,7 +7,7 @@ a[href]:hover { text-decoration: none; - color: #c00048; + color: #803000; } pre { diff --git a/configure.zcml b/configure.zcml index 08d315a..408316a 100644 --- a/configure.zcml +++ b/configure.zcml @@ -319,6 +319,15 @@ set_schema="loops.interfaces.IFile" /> + + + + + + + + + +