from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField, TextAreaField
from wtforms.validators import DataRequired

class postForm(FlaskForm): 
    title = StringField('Title', 
                        validators=[DataRequired()])
    content = TextAreaField('Content', 
                        validators=[DataRequired()])
    submit = SubmitField('Post')
