mirror of
https://github.com/simon987/nyaa.git
synced 2025-12-16 00:09:05 +00:00
[Schema+config change] Comment editing (#396)
* Comment editing * Optional time limit for comment editing
This commit is contained in:
committed by
Anna-Maria Meriniemi
parent
b4c0ad9e84
commit
72c997173c
@@ -184,7 +184,7 @@ class CommentForm(FlaskForm):
|
||||
comment = TextAreaField('Make a comment', [
|
||||
Length(min=3, max=1024, message='Comment must be at least %(min)d characters '
|
||||
'long and %(max)d at most.'),
|
||||
DataRequired()
|
||||
DataRequired(message='Comment must not be empty.')
|
||||
])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user