equal
deleted
inserted
replaced
370 class CopyFormView(EditionFormView): |
370 class CopyFormView(EditionFormView): |
371 """display primary entity creation form initialized with values from another |
371 """display primary entity creation form initialized with values from another |
372 entity |
372 entity |
373 """ |
373 """ |
374 id = 'copy' |
374 id = 'copy' |
|
375 title = _('copy') |
375 warning_message = _('Please note that this is only a shallow copy') |
376 warning_message = _('Please note that this is only a shallow copy') |
376 |
377 |
377 def render_form(self, entity): |
378 def render_form(self, entity): |
378 """fetch and render the form""" |
379 """fetch and render the form""" |
379 # 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 |