equal
deleted
inserted
replaced
408 w(u'<div id="%s"></div>' % holderid) |
408 w(u'<div id="%s"></div>' % holderid) |
409 params = self.cw_extra_kwargs.copy() |
409 params = self.cw_extra_kwargs.copy() |
410 params.pop('view', None) |
410 params.pop('view', None) |
411 params.pop('entity', None) |
411 params.pop('entity', None) |
412 form = params.pop('formparams', {}) |
412 form = params.pop('formparams', {}) |
413 form['pageid'] = self._cw.pageid |
|
414 if entity.has_eid(): |
413 if entity.has_eid(): |
415 eid = entity.eid |
414 eid = entity.eid |
416 else: |
415 else: |
417 eid = None |
416 eid = None |
418 form['etype'] = entity.__regid__ |
417 form['etype'] = entity.__regid__ |