diff --git a/progit/forms.py b/progit/forms.py index 349a2a6..6e33ffa 100644 --- a/progit/forms.py +++ b/progit/forms.py @@ -62,12 +62,20 @@ class RequestPullForm(wtf.Form): class AddIssueCommentForm(wtf.Form): ''' Form to add a comment to an issue. ''' - comment = wtforms.TextAreaField( + t = wtforms.TextAreaField( 'Comment*', [wtforms.validators.Required()] ) +class AddIssueTagForm(wtf.Form): + ''' Form to add a tag to an issue. ''' + tag = wtforms.TextField( + 'tag*', + [wtforms.validators.Required()] + ) + + class AddPullRequestCommentForm(wtf.Form): ''' Form to add a comment to a pull-request. ''' commit = wtforms.HiddenField('commit identifier')