You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
from flask_wtf import FlaskForm
|
|
from wtforms import SubmitField, TextAreaField
|
|
from wtforms.validators import DataRequired, Length
|
|
|
|
|
|
class NoteForm(FlaskForm):
|
|
content = TextAreaField('Content', validators=[DataRequired(), Length(min=1, max=5000)])
|
|
submit = SubmitField('Add Note')
|