diff --git a/progit/forms.py b/progit/forms.py index a442cb5..611447d 100644 --- a/progit/forms.py +++ b/progit/forms.py @@ -60,6 +60,14 @@ class RequestPullForm(wtf.Form): ) +class AddIssueCommentForm(wtf.Form): + ''' Form to add a comment to an issue. ''' + comment = wtforms.TextAreaField( + 'Comment*', + [wtforms.validators.Required()] + ) + + class UpdateIssueStatusForm(wtf.Form): ''' Form to update the status of an issue. ''' status = wtforms.SelectField(