aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-09-05 23:20:08 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-09-05 23:20:08 -0500
commit7624c641cd0f5a6d438d88dcfb48d724b09e7763 (patch)
tree62d94caea2518c37c8a8e90a29850fab50d049b2
parent949c7afd3762137b24c8a5e0c6cc6101de37eda7 (diff)
downloadmediagoblin-7624c641cd0f5a6d438d88dcfb48d724b09e7763.tar.lz
mediagoblin-7624c641cd0f5a6d438d88dcfb48d724b09e7763.tar.xz
mediagoblin-7624c641cd0f5a6d438d88dcfb48d724b09e7763.zip
Updating the confirm delete form: checkboxes shouldn't be required, make translatable
-rw-r--r--mediagoblin/user_pages/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mediagoblin/user_pages/forms.py b/mediagoblin/user_pages/forms.py
index bf456630..57061d34 100644
--- a/mediagoblin/user_pages/forms.py
+++ b/mediagoblin/user_pages/forms.py
@@ -26,5 +26,5 @@ class MediaCommentForm(wtforms.Form):
class ConfirmDeleteForm(wtforms.Form):
- confirm = wtforms.BooleanField('I am sure I want to delete this',
- [wtforms.validators.Required()])
+ confirm = wtforms.BooleanField(
+ _('I am sure I want to delete this'))