equal
deleted
inserted
replaced
63 if entity.eid in done: |
63 if entity.eid in done: |
64 continue |
64 continue |
65 done.add(entity.eid) |
65 done.add(entity.eid) |
66 subform = self.vreg['forms'].select('base', self.req, entity=entity, |
66 subform = self.vreg['forms'].select('base', self.req, entity=entity, |
67 mainform=False) |
67 mainform=False) |
68 self.form_add_subform(subform) |
68 self.add_subform(subform) |
69 |
69 |
70 |
70 |
71 class DeleteConfFormView(FormViewMixIn, EntityView): |
71 class DeleteConfFormView(FormViewMixIn, EntityView): |
72 """form used to confirm deletion of some entities""" |
72 """form used to confirm deletion of some entities""" |
73 id = 'deleteconf' |
73 id = 'deleteconf' |
419 rset=self.rset, row=row, |
419 rset=self.rset, row=row, |
420 attrcategories=('primary',), |
420 attrcategories=('primary',), |
421 mainform=False) |
421 mainform=False) |
422 # XXX rely on the EntityCompositeFormRenderer to put the eid input |
422 # XXX rely on the EntityCompositeFormRenderer to put the eid input |
423 form.remove_field(form.field_by_name('eid')) |
423 form.remove_field(form.field_by_name('eid')) |
424 self.form_add_subform(form) |
424 self.add_subform(form) |
425 |
425 |
426 |
426 |
427 class TableEditFormView(FormViewMixIn, EntityView): |
427 class TableEditFormView(FormViewMixIn, EntityView): |
428 id = 'muledit' |
428 id = 'muledit' |
429 __select__ = EntityView.__select__ & yes() |
429 __select__ = EntityView.__select__ & yes() |