aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/edit/forms.py
diff options
context:
space:
mode:
authorDerek Moore <derek.k.moore@gmail.com>2012-03-15 16:38:56 -0700
committerDerek Moore <derek.k.moore@gmail.com>2012-03-15 16:38:56 -0700
commit252eaf21d5784936ca65ae8faba07db2d786fb31 (patch)
tree28cff9ee29810efde7b706eaa0fb73a73b9fb9f9 /mediagoblin/edit/forms.py
parent20a3e278bc237a4e23606cc2fc2f800f6a8dbc25 (diff)
downloadmediagoblin-252eaf21d5784936ca65ae8faba07db2d786fb31.tar.lz
mediagoblin-252eaf21d5784936ca65ae8faba07db2d786fb31.tar.xz
mediagoblin-252eaf21d5784936ca65ae8faba07db2d786fb31.zip
These are changes for issue #405, add email comment notification.
Diffstat (limited to 'mediagoblin/edit/forms.py')
-rw-r--r--mediagoblin/edit/forms.py5
1 files changed, 5 insertions, 0 deletions
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(