From 584f15ac8fb7c4a40c53a7bc78501307d02439c3 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jan 05 2015 09:53:42 +0000 Subject: Add a new form to assign an issue to someone --- diff --git a/progit/forms.py b/progit/forms.py index 6e33ffa..e7a70c5 100644 --- a/progit/forms.py +++ b/progit/forms.py @@ -76,6 +76,14 @@ class AddIssueTagForm(wtf.Form): ) +class AddIssueAssigneeForm(wtf.Form): + ''' Form to add a tag to an issue. ''' + assignee = wtforms.TextField( + 'assignee*', + [wtforms.validators.Required()] + ) + + class AddPullRequestCommentForm(wtf.Form): ''' Form to add a comment to a pull-request. ''' commit = wtforms.HiddenField('commit identifier')