diff --git a/progit/forms.py b/progit/forms.py index d5eec60..4c3c435 100644 --- a/progit/forms.py +++ b/progit/forms.py @@ -84,6 +84,14 @@ class AddIssueAssigneeForm(wtf.Form): ) +class AddIssueDependencyForm(wtf.Form): + ''' Form to add a blocked issue to an issue. ''' + depends = wtforms.TextField( + 'dependency issue*', + [wtforms.validators.Required()] + ) + + class AddPullRequestCommentForm(wtf.Form): ''' Form to add a comment to a pull-request. ''' commit = wtforms.HiddenField('commit identifier')