From c40b8af96a45bdf009f9e4cad53ea23436bbf053 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 26 2015 08:15:26 +0000 Subject: Add form to add a group to a project --- 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(