--- a/web/views/autoform.py Wed Oct 07 11:33:24 2009 +0200
+++ b/web/views/autoform.py Wed Oct 07 11:33:38 2009 +0200
@@ -424,7 +424,7 @@
# display inline-edition view for all existing related entities
for i, relentity in enumerate(related.entities()):
if relentity.has_perm('update'):
- yield vvreg.select('inline-edition', self.req, related,
+ yield vvreg.select('inline-edition', self.req, rset=related,
row=i, col=0, rtype=rschema, role=role,
peid=entity.eid, pform=self)
--- a/web/views/editforms.py Wed Oct 07 11:33:24 2009 +0200
+++ b/web/views/editforms.py Wed Oct 07 11:33:38 2009 +0200
@@ -504,7 +504,7 @@
def add_hiddens(self, form, entity):
"""to ease overriding (see cubes.vcsfile.views.forms for instance)"""
iid = 'rel-%s-%s-%s' % (self.peid, self.rtype, entity.eid)
- # * str(self.rtype) in case it's a schema object
+ # * str(self.rtype) in case it's a schema object
# * neged_role() since role is the for parent entity, we want the role
# of the inlined entity
form.form_add_hidden(name=str(self.rtype), value=self.peid,