equal
deleted
inserted
replaced
369 class CopyFormView(EditionFormView): |
369 class CopyFormView(EditionFormView): |
370 """display primary entity creation form initialized with values from another |
370 """display primary entity creation form initialized with values from another |
371 entity |
371 entity |
372 """ |
372 """ |
373 __regid__ = 'copy' |
373 __regid__ = 'copy' |
|
374 |
|
375 title = _('copy') |
374 warning_message = _('Please note that this is only a shallow copy') |
376 warning_message = _('Please note that this is only a shallow copy') |
375 |
377 |
376 def render_form(self, entity): |
378 def render_form(self, entity): |
377 """fetch and render the form""" |
379 """fetch and render the form""" |
378 # make a copy of entity to avoid altering the entity in the |
380 # make a copy of entity to avoid altering the entity in the |