web/views/massmailing.py
branchtls-sprint
changeset 1318 50e1a778c5ee
parent 1304 8975c8e520a9
child 1390 78bab2d35637
--- 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')