diff --git a/pagure/forms.py b/pagure/forms.py index 7cee9fc..f3a8efc 100644 --- a/pagure/forms.py +++ b/pagure/forms.py @@ -135,6 +135,14 @@ class AddUserForm(wtf.Form): ) +class AddGroupForm(wtf.Form): + ''' Form to add a group to a project. ''' + group = wtforms.TextField( + 'Group *', + [wtforms.validators.Required()] + ) + + class DescriptionForm(wtf.Form): ''' Form to edit the description of a project. ''' description = wtforms.TextField(