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