Updating the confirm delete form: checkboxes shouldn't be required, make translatable
This commit is contained in:
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user