from flask_wtf import FlaskForm
from wtforms import StringField, SelectField, SubmitField
from wtforms.fields.html5 import EmailField
from wtforms.validators import DataRequired, Email


class AddTaskForm(FlaskForm):
    task_name = StringField('To Do Item', validators=[DataRequired()])
    email = EmailField('Email', validators=[DataRequired(), Email()])
    priority = SelectField('Priority', choices=['Low', 'Medium', 'High'],
        validators=[DataRequired()])
    submit = SubmitField('Add To Do Item')


class ClearTasksForm(FlaskForm):
    submit = SubmitField('Clear To-Do List')

40ab219246e17cbea2f5693d9f61e8dc6415e552
<mask token>


class ClearTasksForm(FlaskForm):
    <mask token>

<mask token>


class AddTaskForm(FlaskForm):
    <mask token>
    <mask token>
    <mask token>
    <mask token>


class ClearTasksForm(FlaskForm):
    submit = SubmitField('Clear To-Do List')

<mask token>


class AddTaskForm(FlaskForm):
    task_name = StringField('To Do Item', validators=[DataRequired()])
    email = EmailField('Email', validators=[DataRequired(), Email()])
    priority = SelectField('Priority', choices=['Low', 'Medium', 'High'],
        validators=[DataRequired()])
    submit = SubmitField('Add To Do Item')


class ClearTasksForm(FlaskForm):
    submit = SubmitField('Clear To-Do List')

from flask_wtf import FlaskForm
from wtforms import StringField, SelectField, SubmitField
from wtforms.fields.html5 import EmailField
from wtforms.validators import DataRequired, Email


class AddTaskForm(FlaskForm):
    task_name = StringField('To Do Item', validators=[DataRequired()])
    email = EmailField('Email', validators=[DataRequired(), Email()])
    priority = SelectField('Priority', choices=['Low', 'Medium', 'High'],
        validators=[DataRequired()])
    submit = SubmitField('Add To Do Item')


class ClearTasksForm(FlaskForm):
    submit = SubmitField('Clear To-Do List')
