forum: match topic title length in creation form with model

Model has titles of up to 128 characters, but the form limits that input
to 32 characters. Bump that to 128 too.
This commit is contained in:
Lephe 2020-10-30 09:36:21 +01:00
parent ed231f6524
commit e06363715e
Signed by untrusted user: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class AnonymousCommentEditForm(CommentEditForm, AnonymousCommentForm):
class TopicCreationForm(CommentForm):
title = StringField('Nom du sujet',
validators=[InputRequired(), Length(min=3, max=32)])
validators=[InputRequired(), Length(min=3, max=128)])
submit = SubmitField('Créer le sujet')