diff --git a/pagure/forms.py b/pagure/forms.py index cdd8e5d..8a8d06f 100644 --- a/pagure/forms.py +++ b/pagure/forms.py @@ -93,6 +93,26 @@ class RequestPullForm(wtf.Form): ) +class RemoteRequestPullForm(wtf.Form): + ''' Form to create a remote request pull. ''' + title = wtforms.TextField( + 'Title*', + [wtforms.validators.Required()] + ) + git_repo = wtforms.TextField( + 'Git repo address*', + [wtforms.validators.Required()] + ) + branch_from = wtforms.TextField( + 'Git branch*', + [wtforms.validators.Required()] + ) + branch_to = wtforms.TextField( + 'Git branch to merge in*', + [wtforms.validators.Required()] + ) + + class AddIssueTagForm(wtf.Form): ''' Form to add a comment to an issue. ''' tag = wtforms.TextField(