from flask_wtf import FlaskForm
from wtforms import SelectField,StringField,TextAreaField,SubmitField
from wtforms.validators import Required
from wtforms import ValidationError

class SharePostForm(FlaskForm):
    '''
    The blog-post sharing form
    '''
    topic = SelectField('', choices=[('TechSavy', 'TechSavy'), ('MoneySmart','MoneySmart'), ('Life & Laughter', 'Life & Laughter')], validators=[Required()])
    content = TextAreaField('', validators=[Required()], render_kw={"placeholder": "Write your story here :)"})
    submit = SubmitField('Share')
    
class UpdateProfile(FlaskForm):
    bio = TextAreaField('Tell us about you.',validators = [Required()])
    submit = SubmitField('Submit')
    
class CommentForm(FlaskForm):
    comment = TextAreaField('',validators=[Required()], render_kw={"placeholder": "Post your comment here"})
    submit = SubmitField('Post Comment')
ab57fcff4e79f05a1448fd33214b552c74296ab2
<mask token>


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


class UpdateProfile(FlaskForm):
    bio = TextAreaField('Tell us about you.', validators=[Required()])
    submit = SubmitField('Submit')


class CommentForm(FlaskForm):
    comment = TextAreaField('', validators=[Required()], render_kw={
        'placeholder': 'Post your comment here'})
    submit = SubmitField('Post Comment')

<mask token>


class SharePostForm(FlaskForm):
    <mask token>
    topic = SelectField('', choices=[('TechSavy', 'TechSavy'), (
        'MoneySmart', 'MoneySmart'), ('Life & Laughter', 'Life & Laughter')
        ], validators=[Required()])
    content = TextAreaField('', validators=[Required()], render_kw={
        'placeholder': 'Write your story here :)'})
    submit = SubmitField('Share')


class UpdateProfile(FlaskForm):
    bio = TextAreaField('Tell us about you.', validators=[Required()])
    submit = SubmitField('Submit')


class CommentForm(FlaskForm):
    comment = TextAreaField('', validators=[Required()], render_kw={
        'placeholder': 'Post your comment here'})
    submit = SubmitField('Post Comment')

<mask token>


class SharePostForm(FlaskForm):
    """
    The blog-post sharing form
    """
    topic = SelectField('', choices=[('TechSavy', 'TechSavy'), (
        'MoneySmart', 'MoneySmart'), ('Life & Laughter', 'Life & Laughter')
        ], validators=[Required()])
    content = TextAreaField('', validators=[Required()], render_kw={
        'placeholder': 'Write your story here :)'})
    submit = SubmitField('Share')


class UpdateProfile(FlaskForm):
    bio = TextAreaField('Tell us about you.', validators=[Required()])
    submit = SubmitField('Submit')


class CommentForm(FlaskForm):
    comment = TextAreaField('', validators=[Required()], render_kw={
        'placeholder': 'Post your comment here'})
    submit = SubmitField('Post Comment')

from flask_wtf import FlaskForm
from wtforms import SelectField, StringField, TextAreaField, SubmitField
from wtforms.validators import Required
from wtforms import ValidationError


class SharePostForm(FlaskForm):
    """
    The blog-post sharing form
    """
    topic = SelectField('', choices=[('TechSavy', 'TechSavy'), (
        'MoneySmart', 'MoneySmart'), ('Life & Laughter', 'Life & Laughter')
        ], validators=[Required()])
    content = TextAreaField('', validators=[Required()], render_kw={
        'placeholder': 'Write your story here :)'})
    submit = SubmitField('Share')


class UpdateProfile(FlaskForm):
    bio = TextAreaField('Tell us about you.', validators=[Required()])
    submit = SubmitField('Submit')


class CommentForm(FlaskForm):
    comment = TextAreaField('', validators=[Required()], render_kw={
        'placeholder': 'Post your comment here'})
    submit = SubmitField('Post Comment')

from flask_wtf import FlaskForm
from wtforms import SelectField,StringField,TextAreaField,SubmitField
from wtforms.validators import Required
from wtforms import ValidationError

class SharePostForm(FlaskForm):
    '''
    The blog-post sharing form
    '''
    topic = SelectField('', choices=[('TechSavy', 'TechSavy'), ('MoneySmart','MoneySmart'), ('Life & Laughter', 'Life & Laughter')], validators=[Required()])
    content = TextAreaField('', validators=[Required()], render_kw={"placeholder": "Write your story here :)"})
    submit = SubmitField('Share')
    
class UpdateProfile(FlaskForm):
    bio = TextAreaField('Tell us about you.',validators = [Required()])
    submit = SubmitField('Submit')
    
class CommentForm(FlaskForm):
    comment = TextAreaField('',validators=[Required()], render_kw={"placeholder": "Post your comment here"})
    submit = SubmitField('Post Comment')