diff options
author | Matt Arnold | 2025-04-09 15:24:29 -0400 |
---|---|---|
committer | Matt Arnold | 2025-04-09 15:24:29 -0400 |
commit | d1745a9c1e46d43af005ac966cf4170192b76f97 (patch) | |
tree | 7de2e583ce0729915ac33dd177099c29ef5d432d /forms.py | |
parent | d6b7302b791b95b69dd2334e1119e697bd58cab3 (diff) |
Supercommit
Diffstat (limited to 'forms.py')
-rw-r--r-- | forms.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/forms.py b/forms.py index c66954c..d8aa8c0 100644 --- a/forms.py +++ b/forms.py @@ -1,7 +1,8 @@ from flask_wtf import FlaskForm -from wtforms import StringField, TextAreaField +from wtforms import StringField, TextAreaField, SubmitField from wtforms.validators import DataRequired class PostForm(FlaskForm): title = StringField('Title', validators=[DataRequired()]) - content = TextAreaField('Content', validators=[DataRequired()]) \ No newline at end of file + content = TextAreaField('Content', validators=[DataRequired()]) + submit = SubmitField("Toot!") |