From 252eaf21d5784936ca65ae8faba07db2d786fb31 Mon Sep 17 00:00:00 2001 From: Derek Moore Date: Thu, 15 Mar 2012 16:38:56 -0700 Subject: These are changes for issue #405, add email comment notification. --- mediagoblin/edit/forms.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mediagoblin/edit/forms.py') diff --git a/mediagoblin/edit/forms.py b/mediagoblin/edit/forms.py index 46ee02e2..83600e4d 100644 --- a/mediagoblin/edit/forms.py +++ b/mediagoblin/edit/forms.py @@ -70,6 +70,11 @@ class EditAccountForm(wtforms.Form): wtforms.validators.Length(min=6, max=30)], id="password") + wants_comment_notification = wtforms.BooleanField( + _('Comment notification?'), + [wtforms.validators.Required()], + description=_("Check this box to be emailed when someone else comments on your media.")) + class EditAttachmentsForm(wtforms.Form): attachment_name = wtforms.TextField( -- cgit v1.2.3