web/views/massmailing.py
branchstable
changeset 3953 19aefd78f61b
parent 3506 f0ec5d17f470
child 3998 94cc7cad3d2d
child 4212 ab6573088b4a
--- a/web/views/massmailing.py	Tue Dec 01 08:38:02 2009 +0100
+++ b/web/views/massmailing.py	Tue Dec 01 08:43:37 2009 +0100
@@ -127,4 +127,4 @@
         from_addr = '%s <%s>' % (req.user.dc_title(), req.user.get_email())
         form = self.vreg['forms'].select('massmailing', self.req, rset=self.rset,
                                 action='sendmail', domid='sendmail')
-        self.w(form.form_render(sender=from_addr))
+        self.w(form.render(formvalues=dict(sender=from_addr)))