aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/user_pages/forms.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-08-30 20:16:47 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-08-30 20:16:47 -0500
commit2886b340d33c8f5c9cef933089fc1fce525da6aa (patch)
treec0f86bbdb41b33bd97e92f19b751dad898daaa62 /mediagoblin/user_pages/forms.py
parent04a7b06d613dd3ab90cde4eb268087e28d92017c (diff)
parent502073f2bf65380be18b349a678ac075777889a4 (diff)
downloadmediagoblin-2886b340d33c8f5c9cef933089fc1fce525da6aa.tar.lz
mediagoblin-2886b340d33c8f5c9cef933089fc1fce525da6aa.tar.xz
mediagoblin-2886b340d33c8f5c9cef933089fc1fce525da6aa.zip
Merge remote branch 'remotes/jwandborg/f403_ability_to_delete'
Diffstat (limited to 'mediagoblin/user_pages/forms.py')
-rw-r--r--mediagoblin/user_pages/forms.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/mediagoblin/user_pages/forms.py b/mediagoblin/user_pages/forms.py
index 25001019..4a79bedd 100644
--- a/mediagoblin/user_pages/forms.py
+++ b/mediagoblin/user_pages/forms.py
@@ -23,3 +23,10 @@ class MediaCommentForm(wtforms.Form):
comment_content = wtforms.TextAreaField(
_('Comment'),
[wtforms.validators.Required()])
+
+
+class ConfirmDeleteForm(wtforms.Form):
+ confirm = wtforms.RadioField('Confirm',
+ default='False',
+ choices=[('False', 'No, I made a mistake!'),
+ ('True', 'Yes, delete it!')])