diff -r 60e78e93a0e5 -r 1b9b51ee543e view.py --- a/view.py Sun Nov 08 19:37:44 2009 +0100 +++ b/view.py Sun Nov 08 19:53:28 2009 +0100 @@ -293,22 +293,28 @@ self.w('}\n-->\n\n') def create_url(self, etype, **kwargs): - """ return the url of the entity creation form for a given entity type""" - return self.req.build_url('add/%s'%etype, **kwargs) + """return the url of the entity creation form for a given entity type""" + return self.req.build_url('add/%s' % etype, **kwargs) - def field(self, label, value, row=True, show_label=True, w=None, tr=True): - """ read-only field """ + 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 - if row: - w(u'