fix wrong merge
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 07 Jul 2009 11:36:26 +0200
changeset 2296 f1b74a34da40
parent 2295 4bad4fb08f2e
child 2297 4cf57dd80650
fix wrong merge
web/views/management.py
--- a/web/views/management.py	Tue Jul 07 11:36:18 2009 +0200
+++ b/web/views/management.py	Tue Jul 07 11:36:26 2009 +0200
@@ -109,7 +109,7 @@
         msg = self.req._('ownerships have been changed')
         form = self.vreg.select('forms', 'base', self.req, entity=entity,
                                 form_renderer_id='base', submitmsg=msg,
-                                form_buttons=[formwidgets.SubmitButton()],
+                                form_buttons=[wdgs.SubmitButton()],
                                 domid='ownership%s' % entity.eid,
                                 __redirectvid='security',
                                 __redirectpath=entity.rest_path())
@@ -164,7 +164,7 @@
         newperm.eid = self.req.varmaker.next()
         self.w(u'<p>%s</p>' % self.req._('add a new permission'))
         form = self.vreg.select('forms', 'base', self.req, entity=newperm,
-                                form_buttons=[formwidgets.SubmitButton()],
+                                form_buttons=[wdgs.SubmitButton()],
                                 domid='reqperm%s' % entity.eid,
                                 __redirectvid='security',
                                 __redirectpath=entity.rest_path())