12345678 |
- from flask_wtf import FlaskForm
- from wtforms import StringField, PasswordField, BooleanField, SubmitField
- from wtforms.validators import DataRequired
-
- class TurnForm(FlaskForm):
- cName = StringField('Name', validators=[DataRequired()])
- cEmail = StringField('Email', validators=[DataRequired()])
- submit = SubmitField('Get turn')
|