from flask_wtf import Form
from wtforms.validators import DataRequired
from wtforms import TextAreaField, StringField,  DateField, IntegerField


# Mel R pointed out that I had a few lines of code that were too long.
# I changed this EntryForm so these lines of code were more readable
# and shorter.
class EntryForm(Form):
    title = StringField(
        "Title:",
        validators=[DataRequired()]
    )
    date = DateField(
        "Date:(format-MM/DD/YYYY)",
        format="%m/%d/%Y",
        validators=[DataRequired()]
    )
    time = IntegerField(
        "Time Spent:(in hours)",
        validators=[DataRequired()]
    )
    i_learned = TextAreaField(
        "What I Learned:",
        validators=[DataRequired()]
    )
    resources = TextAreaField(
        "Resources To Remember:",
        validators=[DataRequired()]
    )

3101b30ebc57f1c8d59758ad85c5e1744433f895
<mask token>

<mask token>


class EntryForm(Form):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

<mask token>


class EntryForm(Form):
    title = StringField('Title:', validators=[DataRequired()])
    date = DateField('Date:(format-MM/DD/YYYY)', format='%m/%d/%Y',
        validators=[DataRequired()])
    time = IntegerField('Time Spent:(in hours)', validators=[DataRequired()])
    i_learned = TextAreaField('What I Learned:', validators=[DataRequired()])
    resources = TextAreaField('Resources To Remember:', validators=[
        DataRequired()])

from flask_wtf import Form
from wtforms.validators import DataRequired
from wtforms import TextAreaField, StringField, DateField, IntegerField


class EntryForm(Form):
    title = StringField('Title:', validators=[DataRequired()])
    date = DateField('Date:(format-MM/DD/YYYY)', format='%m/%d/%Y',
        validators=[DataRequired()])
    time = IntegerField('Time Spent:(in hours)', validators=[DataRequired()])
    i_learned = TextAreaField('What I Learned:', validators=[DataRequired()])
    resources = TextAreaField('Resources To Remember:', validators=[
        DataRequired()])

from flask_wtf import Form
from wtforms.validators import DataRequired
from wtforms import TextAreaField, StringField,  DateField, IntegerField


# Mel R pointed out that I had a few lines of code that were too long.
# I changed this EntryForm so these lines of code were more readable
# and shorter.
class EntryForm(Form):
    title = StringField(
        "Title:",
        validators=[DataRequired()]
    )
    date = DateField(
        "Date:(format-MM/DD/YYYY)",
        format="%m/%d/%Y",
        validators=[DataRequired()]
    )
    time = IntegerField(
        "Time Spent:(in hours)",
        validators=[DataRequired()]
    )
    i_learned = TextAreaField(
        "What I Learned:",
        validators=[DataRequired()]
    )
    resources = TextAreaField(
        "Resources To Remember:",
        validators=[DataRequired()]
    )
