comments can be added+removed. gravatar for user avatar

This commit is contained in:
nyaadev
2017-05-22 18:35:48 +02:00
parent 9bd71af1b2
commit fee55c1792
4 changed files with 42 additions and 4 deletions

View File

@@ -129,7 +129,7 @@ class DisabledSelectField(SelectField):
class CommentForm(FlaskForm):
comment = TextAreaField('Make a comment', [
Length(max=255, message='Comment must be at most %(max)d characters long.'),
Required()
DataRequired()
])
is_anonymous = BooleanField('Anonymous')