# create a form class

from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField, IntegerField, DateTimeField
from wtforms.validators import DataRequired, Email


class NamerForm(FlaskForm):
    name = StringField('Name:', validators=[DataRequired()])
    email = StringField('Email:', validators=[DataRequired()])
    favorite_color = StringField('favorite_color:')

    submit = SubmitField('Submit')


class UserForm(FlaskForm):
    name = StringField('Name:', validators=[DataRequired()])
    email = StringField('Email:', validators=[DataRequired()])

    favorite_color = StringField('favorite_color:' )

    submit = SubmitField('Submit')

