Skip to content
Snippets Groups Projects
Commit ed8dc2bddcbe authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[views] Fix typo in adapter name

preventing NoWarningCopyFormView to be selected when expected.
parent ef9e619a665e
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@
"""Display primary entity creation form initialized with values from another
entity, but avoiding cubicweb default 'this is only a shallow copy' message.
"""
__select__ = editforms.CopyFormView.__select__ & adaptable('ICloneable')
__select__ = editforms.CopyFormView.__select__ & adaptable('IClonable')
def render_form(self, entity):
"""fetch and render the form"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment