aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/edit/forms.py
diff options
context:
space:
mode:
authorRodney Ewing <ewing.rj@gmail.com>2013-06-25 15:50:31 -0700
committerRodney Ewing <ewing.rj@gmail.com>2013-06-25 16:28:45 -0700
commit1e21471a8abbf3f9d0d0e16a0f2c83c22ffe9650 (patch)
treef38988b3c7e1c4d3a22e11e09ca328864d825cb6 /mediagoblin/edit/forms.py
parent15db1831514aeb9fd77b7bf43a2718b1ffc4d552 (diff)
downloadmediagoblin-1e21471a8abbf3f9d0d0e16a0f2c83c22ffe9650.tar.lz
mediagoblin-1e21471a8abbf3f9d0d0e16a0f2c83c22ffe9650.tar.xz
mediagoblin-1e21471a8abbf3f9d0d0e16a0f2c83c22ffe9650.zip
added feature to render_divs where if field.label == '' then it will render form.description the same a render_label
Diffstat (limited to 'mediagoblin/edit/forms.py')
-rw-r--r--mediagoblin/edit/forms.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/mediagoblin/edit/forms.py b/mediagoblin/edit/forms.py
index 24b31a76..e0147a0c 100644
--- a/mediagoblin/edit/forms.py
+++ b/mediagoblin/edit/forms.py
@@ -65,6 +65,9 @@ class EditAccountForm(wtforms.Form):
_('New email address'),
[wtforms.validators.Optional(),
normalize_user_or_email_field(allow_user=False)])
+ wants_comment_notification = wtforms.BooleanField(
+ label='',
+ description=_("Email me when others comment on my media"))
license_preference = wtforms.SelectField(
_('License preference'),
[
@@ -73,8 +76,6 @@ class EditAccountForm(wtforms.Form):
],
choices=licenses_as_choices(),
description=_('This will be your default license on upload forms.'))
- wants_comment_notification = wtforms.BooleanField(
- label=_("Email me when others comment on my media"))
class EditAttachmentsForm(wtforms.Form):