# coding: utf-8

"""
    forms.py
    ~~~~~~~~

        muxishare表单文件
"""

from flask.ext.wtf import Form
from wtforms.fields import StringField, SubmitField, TextAreaField
from wtforms.validators import Required
from flask.ext.pagedown.fields import PageDownField


class ShareForm(Form):
    """分享表单 markdown编辑器"""
    title = StringField(validators=[Required()])
    share = PageDownField(validators=[Required()])
    submit = SubmitField('分享')


class CommentForm(Form):
    """评论表单, 一般的表单"""
    comment = TextAreaField(validators=[Required()])
    submit = SubmitField('评论')


class EditForm(Form):
	"""编辑表单"""
	title = StringField(validators=[Required()])
	share = PageDownField(validators=[Required()])
	submit = SubmitField('修改')


4f7220c2a392bf17c4b62f6bdae39406fb1549f8
<mask token>


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


class CommentForm(Form):
    """评论表单, 一般的表单"""
    comment = TextAreaField(validators=[Required()])
    submit = SubmitField('评论')


class EditForm(Form):
    """编辑表单"""
    title = StringField(validators=[Required()])
    share = PageDownField(validators=[Required()])
    submit = SubmitField('修改')

<mask token>


class ShareForm(Form):
    <mask token>
    title = StringField(validators=[Required()])
    share = PageDownField(validators=[Required()])
    submit = SubmitField('分享')


class CommentForm(Form):
    """评论表单, 一般的表单"""
    comment = TextAreaField(validators=[Required()])
    submit = SubmitField('评论')


class EditForm(Form):
    """编辑表单"""
    title = StringField(validators=[Required()])
    share = PageDownField(validators=[Required()])
    submit = SubmitField('修改')

<mask token>


class ShareForm(Form):
    """分享表单 markdown编辑器"""
    title = StringField(validators=[Required()])
    share = PageDownField(validators=[Required()])
    submit = SubmitField('分享')


class CommentForm(Form):
    """评论表单, 一般的表单"""
    comment = TextAreaField(validators=[Required()])
    submit = SubmitField('评论')


class EditForm(Form):
    """编辑表单"""
    title = StringField(validators=[Required()])
    share = PageDownField(validators=[Required()])
    submit = SubmitField('修改')

<mask token>
from flask.ext.wtf import Form
from wtforms.fields import StringField, SubmitField, TextAreaField
from wtforms.validators import Required
from flask.ext.pagedown.fields import PageDownField


class ShareForm(Form):
    """分享表单 markdown编辑器"""
    title = StringField(validators=[Required()])
    share = PageDownField(validators=[Required()])
    submit = SubmitField('分享')


class CommentForm(Form):
    """评论表单, 一般的表单"""
    comment = TextAreaField(validators=[Required()])
    submit = SubmitField('评论')


class EditForm(Form):
    """编辑表单"""
    title = StringField(validators=[Required()])
    share = PageDownField(validators=[Required()])
    submit = SubmitField('修改')

# coding: utf-8

"""
    forms.py
    ~~~~~~~~

        muxishare表单文件
"""

from flask.ext.wtf import Form
from wtforms.fields import StringField, SubmitField, TextAreaField
from wtforms.validators import Required
from flask.ext.pagedown.fields import PageDownField


class ShareForm(Form):
    """分享表单 markdown编辑器"""
    title = StringField(validators=[Required()])
    share = PageDownField(validators=[Required()])
    submit = SubmitField('分享')


class CommentForm(Form):
    """评论表单, 一般的表单"""
    comment = TextAreaField(validators=[Required()])
    submit = SubmitField('评论')


class EditForm(Form):
	"""编辑表单"""
	title = StringField(validators=[Required()])
	share = PageDownField(validators=[Required()])
	submit = SubmitField('修改')

