--- a/web/views/massmailing.py Thu Apr 09 13:59:44 2009 +0200
+++ b/web/views/massmailing.py Thu Apr 09 14:31:32 2009 +0200
@@ -13,7 +13,7 @@
from cubicweb.view import EntityView
from cubicweb.web import stdmsgs
from cubicweb.web.action import Action
-from cubicweb.web.form import FieldsForm, FormRenderer
+from cubicweb.web.form import FieldsForm, FormRenderer, FormViewMixIn
from cubicweb.web.formfields import StringField
from cubicweb.web.formwidgets import CheckBox, TextInput, AjaxWidget, ImgButton
@@ -100,7 +100,7 @@
w(u'</table>')
-class MassMailingFormView(EntityView):
+class MassMailingFormView(FormViewMixIn, EntityView):
id = 'massmailing'
__select__ = implements(IEmailable) & match_user_groups('managers', 'users')