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.

8 lines
259 B

  1. from flask_wtf import FlaskForm
  2. from wtforms import StringField, SubmitField
  3. from wtforms.validators import DataRequired
  4. class NameForm(FlaskForm):
  5. name = StringField('What is your name?', validators=[DataRequired()])
  6. submit = SubmitField('Submit')