]> git.lizzy.rs Git - cheatdb.git/commitdiff
Fix wrong character limit on review form
authorrubenwardy <rw@rubenwardy.com>
Thu, 16 Jul 2020 17:41:27 +0000 (18:41 +0100)
committerrubenwardy <rw@rubenwardy.com>
Thu, 16 Jul 2020 17:41:27 +0000 (18:41 +0100)
app/blueprints/packages/reviews.py

index 18deeed8b3ea69c94fe0c149956f5039b592c398..1f5006e8aa11e143c6809820e8433a68729f949c 100644 (file)
@@ -33,7 +33,7 @@ def list_reviews():
 
 class ReviewForm(FlaskForm):
        title   = StringField("Title", [InputRequired(), Length(3,100)])
-       comment = TextAreaField("Comment", [InputRequired(), Length(10, 500)])
+       comment = TextAreaField("Comment", [InputRequired(), Length(10, 2000)])
        recommends = RadioField("Private", [InputRequired()], choices=[("yes", "Yes"), ("no", "No")])
        submit  = SubmitField("Save")