view.py
branchstable
changeset 6038 5c5d819e8e93
parent 5725 b5d595b66c35
child 6044 9e48ebd5400c
--- a/view.py	Fri Jul 30 09:52:12 2010 +0200
+++ b/view.py	Fri Jul 30 09:52:46 2010 +0200
@@ -335,7 +335,8 @@
         """ return the url of the entity creation form for a given entity type"""
         return self._cw.build_url('add/%s' % etype, **kwargs)
 
-    def field(self, label, value, row=True, show_label=True, w=None, tr=True, table=False):
+    def field(self, label, value, row=True, show_label=True, w=None, tr=True,
+              table=False):
         """read-only field"""
         if w is None:
             w = self.w