[web/views] Backport changeset be63e0fd43d0 (it is a fix) in 3.26 3.26
authorNicola Spanti <nicola.spanti@logilab.fr>
Wed, 12 Feb 2020 16:20:10 +0100
branch3.26
changeset 12875 1dc4f480ba1a
parent 12874 cc71a801b846
child 12876 fe9bd0e937e4
[web/views] Backport changeset be63e0fd43d0 (it is a fix) in 3.26
cubicweb/web/views/uicfg.py
--- a/cubicweb/web/views/uicfg.py	Mon Feb 10 16:56:02 2020 +0100
+++ b/cubicweb/web/views/uicfg.py	Wed Feb 12 16:20:10 2020 +0100
@@ -525,7 +525,7 @@
           afs.set_muledit_editable('CWUser', ('firstname', 'surname', 'in_group'))
         """
         for attr in attrs:
-            self.edit_as_attr(self, etype, attr, formtype='muledit')
+            self.edit_as_attr(etype, attr, formtype='muledit')
 
 
 autoform_section = AutoformSectionRelationTags(__module__=__name__)