Updating the confirm delete form: checkboxes shouldn't be required, make translatable

This commit is contained in:
Christopher Allan Webber 2011-09-05 23:20:08 -05:00
parent 949c7afd37
commit 7624c641cd

View File

@ -26,5 +26,5 @@ class MediaCommentForm(wtforms.Form):
class ConfirmDeleteForm(wtforms.Form): class ConfirmDeleteForm(wtforms.Form):
confirm = wtforms.BooleanField('I am sure I want to delete this', confirm = wtforms.BooleanField(
[wtforms.validators.Required()]) _('I am sure I want to delete this'))