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:
parent
ed231f6524
commit
e06363715e
|
@ -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')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue