from flask_wtf import FlaskForm
from wtforms import StringField
from wtforms import SubmitField
from wtforms import TextAreaField
from wtforms import FileField

class UpdateSurveyForm(FlaskForm):
    complete = SubmitField('Complete Survey')
    update = SubmitField('Update Survey')


class PostForm(FlaskForm):
    title = StringField('Title')
    body = TextAreaField('Content ...')
    submit = SubmitField('Publish')

class ProjectPostForm(PostForm):
    file = FileField('Projects')

class ModalForm(FlaskForm):
    complete = SubmitField('Complete Survey')
    update = SubmitField('Update Survey')


class NewsPostForm(FlaskForm):
    title = StringField('Title')
    body = TextAreaField('Content ...')
    summary = TextAreaField('Summary ...')
    submit = SubmitField('Publish')
